コード例 #1
0
ファイル: PostService.php プロジェクト: asilich/zendtest
 public function savePost(PostInterface $post)
 {
     return $this->postMapper->savePost($post);
 }
コード例 #2
0
ファイル: PostService.php プロジェクト: qbonaventure/blog
 public function getPostPrototype()
 {
     return $this->postMapper->getPostPrototype();
 }
コード例 #3
0
 /**
  * {@inheritDoc}
  */
 public function deletePost(PostInterface $post)
 {
     return $this->postMapper->delete($post);
 }
コード例 #4
0
ファイル: PostService.php プロジェクト: princespn/zf2
 /**
  * {@inheritDoc}
  */
 public function findPost($id)
 {
     return $this->postMapper->find($id);
 }