Beispiel #1
0
 public function savePost(PostInterface $post)
 {
     return $this->postMapper->savePost($post);
 }
Beispiel #2
0
 /**
  * Save a new Post with $values into the database, then returns the new Post object
  * 
  * @param array $values
  * @return \Blog\Model\PostInterface
  */
 public function savePost($values)
 {
     return $this->postMapper->savePost($values);
 }