Example #1
0
 public function savePost(PostInterface $post)
 {
     return $this->postMapper->savePost($post);
 }
Example #2
0
 public function getPostPrototype()
 {
     return $this->postMapper->getPostPrototype();
 }
 /**
  * {@inheritDoc}
  */
 public function deletePost(PostInterface $post)
 {
     return $this->postMapper->delete($post);
 }
Example #4
0
 /**
  * {@inheritDoc}
  */
 public function findPost($id)
 {
     return $this->postMapper->find($id);
 }