1 | <?php |
||
10 | trait CommonMutableContainerTrait |
||
11 | { |
||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | 1 | public function values() |
|
19 | |||
20 | /** |
||
21 | * @return array |
||
22 | */ |
||
23 | 1 | public function toValuesArray() |
|
36 | |||
37 | 3 | public function toKeysArray() |
|
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 17 | public function toArray() |
|
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | 1 | public static function fromArray(array $arr) |
|
80 | |||
81 | /** |
||
82 | * {@inheritDoc} |
||
83 | * @return $this |
||
84 | */ |
||
85 | 2 | public function groupBy($callback) |
|
101 | |||
102 | /** |
||
103 | * {@inheritDoc} |
||
104 | * @return $this |
||
105 | */ |
||
106 | 2 | public function indexBy($callback) |
|
116 | } |
||
117 |