| 1 | <?php |
||
| 8 | class Endpoint extends \Atog\Api\Endpoint |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Get all entries paginated |
||
| 12 | * @param int $limit |
||
| 13 | * @param int $offset |
||
| 14 | * @return \Atog\Api\Model|null |
||
| 15 | */ |
||
| 16 | public function all($limit = 1, $offset = 0) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get an entry by an identifier |
||
| 25 | * @param mixed $identifier id of the type |
||
| 26 | * @return \Atog\Api\Model|null |
||
| 27 | */ |
||
| 28 | public function find($identifier) |
||
| 34 | } |
||
| 35 |