| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SliceSelector extends Slice implements ArraySelectorInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param Slice|string $slice |
||
| 14 | */ |
||
| 15 | public function __construct($slice) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @template T |
||
| 23 | * |
||
| 24 | * @param ArrayViewInterface<T> $source |
||
| 25 | * @param bool|null $readonly |
||
| 26 | * |
||
| 27 | * @return ArraySliceView<T> |
||
| 28 | * |
||
| 29 | * {@inheritDoc} |
||
| 30 | */ |
||
| 31 | public function select(ArrayViewInterface $source, ?bool $readonly = null): ArrayViewInterface |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | */ |
||
| 39 | public function getValue(): Slice |
||
| 44 |