| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Mbh\Collection\Traits\Sequenceable; |
||
| 14 | trait Builder |
||
| 15 | { |
||
| 16 | protected $sfa = null; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Create an fixed array |
||
| 20 | * |
||
| 21 | * @param Traversable $array data |
||
| 22 | */ |
||
| 23 | protected function __construct(Traversable $array) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | */ |
||
| 32 | public static function fromArray(array $array) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritDoc |
||
| 39 | */ |
||
| 40 | public static function fromItems(Traversable $array) |
||
| 53 | } |
||
| 54 | |||
| 55 | abstract protected function checkCapacity(); |
||
| 56 | } |
||
| 57 |