1 | <?php |
||
5 | class JoinedArrayAttribute extends ArrayAttribute |
||
6 | { |
||
7 | protected $separator = '|'; |
||
8 | |||
9 | protected function castToArray($array) |
||
15 | |||
16 | /** |
||
17 | * Flatten a multi dimensional array and split all the strings |
||
18 | * using the separator. |
||
19 | * |
||
20 | * @param $value |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | protected function flattenValue($value) |
||
46 | } |
||
47 |