1 | <?php |
||
5 | abstract class CountableGhostModelList extends GhostModel implements \Countable |
||
6 | { |
||
7 | /* @var array */ |
||
8 | protected $resources; |
||
9 | |||
10 | /** |
||
11 | * Get all the resources. |
||
12 | * |
||
13 | * @return array |
||
14 | */ |
||
15 | public function all() |
||
19 | |||
20 | /** |
||
21 | * Number of holdings. |
||
22 | * |
||
23 | * @link http://php.net/manual/en/countable.count.php |
||
24 | * |
||
25 | * @return int The number of holdings as an integer. |
||
26 | */ |
||
27 | public function count() |
||
31 | } |