1 | <?php |
||
13 | class Field |
||
14 | { |
||
15 | |||
16 | /** @var FieldConfig */ |
||
17 | protected $config; |
||
18 | |||
19 | 7 | public function __construct($config) |
|
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | 3 | public function getName() |
|
31 | |||
32 | 5 | public function getType() |
|
36 | |||
37 | /** |
||
38 | * @return FieldConfig |
||
39 | */ |
||
40 | 4 | public function getConfig() |
|
44 | |||
45 | //todo: rethink logic below |
||
46 | |||
47 | 1 | public function getIsDeprecated() |
|
51 | |||
52 | 1 | public function getDeprecationReason() |
|
56 | |||
57 | 1 | public function getDescription() |
|
61 | } |