1 | <?php |
||
18 | class Fields implements FieldsInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | private $fields = []; |
||
24 | |||
25 | /** |
||
26 | * Fields constructor. |
||
27 | * |
||
28 | * @param array $fields |
||
29 | */ |
||
30 | public function __construct(array $fields = []) |
||
34 | |||
35 | /** |
||
36 | * @param string $field |
||
37 | */ |
||
38 | public function add($field) |
||
42 | |||
43 | /** |
||
44 | * @return array |
||
45 | */ |
||
46 | public function get() |
||
50 | } |
||
51 |