server/src/app/Repositories/DocumentRepository.php
changeset 314 f5690d918358
parent 306 3fccf43160a7
child 326 226d5b17a119
equal deleted inserted replaced
313:706f10bcdc3c 314:f5690d918358
     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.