| 1 | <?php |
||
| 15 | class ArrayField extends AbstractField |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $serializerType; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Constructor |
||
| 24 | * |
||
| 25 | * @param string $serializerType Field type |
||
| 26 | * @param string $fieldName Field name |
||
| 27 | * @param string $exposedName Exposed name |
||
| 28 | * @param bool $readOnly Read only |
||
| 29 | * @param bool $required Is required |
||
| 30 | * @param bool $recordOriginException Is an exception to record origin |
||
| 31 | */ |
||
| 32 | 2 | public function __construct($serializerType, $fieldName, $exposedName, $readOnly, $required, $recordOriginException) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Get item type |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 2 | public function getItemType() |
|
| 59 | } |
||
| 60 |