1 | <?php |
||
37 | class ClassMetadataBuildingContext |
||
38 | { |
||
39 | /** @var AbstractClassMetadataFactory */ |
||
40 | private $classMetadataFactory; |
||
41 | |||
42 | /** @var ReflectionService */ |
||
43 | private $reflectionService; |
||
44 | |||
45 | /** @var NamingStrategy */ |
||
46 | private $namingStrategy; |
||
47 | |||
48 | /** |
||
49 | * @var array<SecondPass> |
||
50 | */ |
||
51 | protected $secondPassList = []; |
||
52 | |||
53 | /** |
||
54 | * @var bool |
||
55 | */ |
||
56 | private $inSecondPass = false; |
||
57 | |||
58 | /** |
||
59 | * ClassMetadataBuildingContext constructor. |
||
60 | * |
||
61 | * @param AbstractClassMetadataFactory $classMetadataFactory |
||
62 | * @param ReflectionService $reflectionService |
||
63 | * @param NamingStrategy|null $namingStrategy |
||
64 | */ |
||
65 | public function __construct( |
||
75 | |||
76 | /** |
||
77 | * @return AbstractClassMetadataFactory |
||
78 | */ |
||
79 | public function getClassMetadataFactory() : AbstractClassMetadataFactory |
||
83 | |||
84 | /** |
||
85 | * @return ReflectionService |
||
86 | */ |
||
87 | public function getReflectionService() : ReflectionService |
||
91 | |||
92 | /** |
||
93 | * @return NamingStrategy |
||
94 | */ |
||
95 | public function getNamingStrategy() : NamingStrategy |
||
99 | |||
100 | /** |
||
101 | * @param SecondPass $secondPass |
||
102 | * |
||
103 | * @return void |
||
104 | */ |
||
105 | public function addSecondPass(SecondPass $secondPass) : void |
||
109 | |||
110 | /** |
||
111 | * @return bool |
||
112 | */ |
||
113 | public function isInSecondPass() : bool |
||
117 | |||
118 | /** |
||
119 | * @return void |
||
120 | */ |
||
121 | public function validate() : void |
||
132 | } |
||
133 |