1 | <?php |
||
17 | class Post extends RepositoryAbstract |
||
18 | { |
||
19 | const PATH = 'posts'; |
||
20 | |||
21 | /** |
||
22 | * finds Multiple posts by array of ids |
||
23 | * @param $id |
||
24 | * @return null |
||
25 | */ |
||
26 | public function findByIds($ids) |
||
31 | |||
32 | /** |
||
33 | * finds post by id |
||
34 | * @param $id |
||
35 | * @return null |
||
36 | */ |
||
37 | public function findOneById($id) |
||
43 | } |