1 | <?php |
||
23 | class FormObjectMetadata |
||
24 | { |
||
25 | /** |
||
26 | * @var FormObject |
||
27 | */ |
||
28 | protected $formObject; |
||
29 | |||
30 | /** |
||
31 | * @var FormMetadata |
||
32 | */ |
||
33 | protected $metadata; |
||
34 | |||
35 | /** |
||
36 | * @var FormMetadataRepository |
||
37 | */ |
||
38 | protected $metadataRepository; |
||
39 | |||
40 | /** |
||
41 | * @param FormObject $formObject |
||
42 | */ |
||
43 | public function __construct(FormObject $formObject) |
||
47 | |||
48 | /** |
||
49 | * @return FormMetadata |
||
50 | */ |
||
51 | public function getMetadata() |
||
73 | |||
74 | // /** |
||
75 | // * @param FormMetadata $metadata |
||
76 | // */ |
||
77 | // public function setMetadata(FormMetadata $metadata) |
||
78 | // { |
||
79 | // $this->metadata = $metadata; |
||
80 | // } |
||
81 | |||
82 | public function resetMetadata() |
||
86 | |||
87 | /** |
||
88 | * @return int|string |
||
89 | */ |
||
90 | protected function getFormIdentifier() |
||
108 | |||
109 | /** |
||
110 | * @param FormMetadataRepository $metadataRepository |
||
111 | */ |
||
112 | public function injectMetadataRepository(FormMetadataRepository $metadataRepository) |
||
116 | } |
||
117 |