| 1 | <?php |
||
| 9 | abstract class LazyResourceList extends LazyResource implements \Countable |
||
| 10 | { |
||
| 11 | /* @var array */ |
||
| 12 | protected $resources = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Get all the resources. |
||
| 16 | * |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | public function all() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Number of resources. |
||
| 26 | * |
||
| 27 | * @link http://php.net/manual/en/countable.count.php |
||
| 28 | * |
||
| 29 | * @return int The number of resources as an integer. |
||
| 30 | */ |
||
| 31 | public function count() |
||
| 35 | } |
||
| 36 |