| 1 | <?php |
||
| 10 | class Pokemon extends Endpoint |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $endpoint = 'pokemon'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param int $limit |
||
| 19 | * @param int $offset |
||
| 20 | * @return \Atog\Api\Model|null |
||
| 21 | */ |
||
| 22 | public function all($limit = 1, $offset = 0) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string|int $identifier id or name of the pokemon |
||
| 31 | * @return \Atog\Api\Model|null |
||
| 32 | */ |
||
| 33 | public function find($identifier) |
||
| 39 | } |
||
| 40 |