changeset 306 | 3fccf43160a7 |
parent 168 | 17f10b56c079 |
child 326 | 226d5b17a119 |
305:ff6cf3fc5f40 | 306:3fccf43160a7 |
---|---|
5 |
5 |
6 interface DocumentRepository { |
6 interface DocumentRepository { |
7 |
7 |
8 public function all(); |
8 public function all(); |
9 |
9 |
10 public function get($id, bool $short = false); |
10 public function get($id, $short = false); |
11 |
11 |
12 public function save(Document $doc); |
12 public function save(Document $doc); |
13 |
13 |
14 /** |
14 /** |
15 * Paginate all document as a paginator. |
15 * Paginate all document as a paginator. |