| 1 | <?php |
||
| 12 | trait ImmutableListTrait |
||
| 13 | { |
||
| 14 | use ImmutableCollectionTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @throws UnsupportedOperationException |
||
| 18 | */ |
||
| 19 | public function addAt($index, $element) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @throws UnsupportedOperationException |
||
| 26 | */ |
||
| 27 | public function removeAt($index) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @throws UnsupportedOperationException |
||
| 34 | */ |
||
| 35 | public function set($index, $element) |
||
| 39 | |||
| 40 | /********************************************* |
||
| 41 | ** Array Access Methods |
||
| 42 | *********************************************/ |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | * {@inheritDoc} |
||
| 47 | * @see ArrayAccess::offsetSet() |
||
| 48 | */ |
||
| 49 | public function offsetSet($offset, $value) |
||
| 53 | |||
| 54 | /** |
||
| 55 | * |
||
| 56 | * {@inheritDoc} |
||
| 57 | * @see ArrayAccess::offsetUnset() |
||
| 58 | */ |
||
| 59 | public function offsetUnset($offset) |
||
| 63 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.