| 1 | <?php |
||
| 10 | class ListField extends DataField |
||
| 11 | { |
||
| 12 | |||
| 13 | protected $delimiter = ','; |
||
| 14 | |||
| 15 | 1 | public function setData($data) |
|
| 26 | |||
| 27 | /** |
||
| 28 | * TODO fix the list implosion thing here |
||
| 29 | * This is a list (array) |
||
| 30 | */ |
||
| 31 | 1 | public function getData() |
|
| 35 | |||
| 36 | /** |
||
| 37 | * |
||
| 38 | * @param string $delimiter |
||
| 39 | * @return \Solvire\API\Serializers\DataFields\ListField |
||
| 40 | */ |
||
| 41 | 1 | public function setDelimiter($delimiter) |
|
| 46 | |||
| 47 | /** |
||
| 48 | * |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | 1 | public function getDelimiter() |
|
| 55 | } |
||
| 56 |