Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php namespace Mbh\Collection\Traits\Sequenceable\Arrayed; |
||
13 | trait Countable |
||
14 | { |
||
15 | protected $sfa = null; |
||
16 | |||
17 | /** |
||
18 | * Create an fixed array |
||
19 | * |
||
20 | * @param Traversable $array data |
||
21 | */ |
||
22 | protected function __construct(Traversable $array) |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Countable |
||
30 | */ |
||
31 | public function count(): int |
||
34 | } |
||
35 | |||
36 | abstract protected function checkCapacity(); |
||
37 | } |
||
38 |