Beispiel #1
0
 /**
  * @param Post $Post
  */
 public function savePost(Post $Post)
 {
     $ownerId = $Post->getOwner()->getId();
     $this->getRedis()->zadd($this->getFeedName($ownerId), [$Post->getId() => $Post->get(Post::FIELD_CREATE_AT)]);
 }