1 | <?php |
||
22 | class PropertyMetadata extends GenericMetadata implements PropertyMetadataInterface |
||
|
|||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | * @internal |
||
27 | */ |
||
28 | public $propertyName; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | * @internal |
||
33 | */ |
||
34 | public $setter; |
||
35 | |||
36 | /** |
||
37 | * Constructor |
||
38 | * |
||
39 | * @param string $property |
||
40 | * @param string $className |
||
41 | */ |
||
42 | public function __construct($property, $className) |
||
48 | |||
49 | /** |
||
50 | * @inheritdoc |
||
51 | */ |
||
52 | public function getPropertyName() |
||
56 | |||
57 | /** |
||
58 | * @inheritdoc |
||
59 | */ |
||
60 | public function getSetter() |
||
64 | |||
65 | /** |
||
66 | * Sets property setter |
||
67 | * |
||
68 | * @param string|null $setter |
||
69 | * @return $this |
||
70 | */ |
||
71 | public function setSetter($setter = null) { |
||
76 | } |