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