| 1 | <?php |
||
| 8 | class MutableSet extends AbstractMutableCollection |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @param array $values |
||
| 12 | */ |
||
| 13 | public function __construct($values) |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | public function contains($value) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @inheritdoc |
||
| 28 | */ |
||
| 29 | public function get($key) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | public function add($value) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | public function set($key, $value) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @inheritdoc |
||
| 53 | */ |
||
| 54 | public function remove($value) |
||
| 58 | } |
||
| 59 |