/** * @return array|PostInterface[] */ public function findAllPosts() { return $this->postMapper->findAll(); }
public function getAllPosts($limit = null) { return $this->postMapper->findAll(array(), $limit); }
/** * @return array|PostInterface[] */ public function findAllPosts() { return $this->postMapper->findAll(); }
public function getAllPosts($limit = null) { return $this->postMapper->findAll(array(), $limit); }