@@ -6,8 +6,8 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\analyzer\annotation; |
8 | 8 | |
9 | -use samsonframework\container\definition\analyzer\ClassAnalyzerInterface; |
|
10 | -use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
9 | +use samsonframework\container\definition\analyzer\ClassAnalyzerInterface; |
|
10 | +use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
11 | 11 | use samsonframework\container\definition\ClassDefinition; |
12 | 12 | |
13 | 13 | class AnnotationClassAnalyzer extends AbstractAnnotationAnalyzer implements ClassAnalyzerInterface |
@@ -6,10 +6,10 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\analyzer\annotation; |
8 | 8 | |
9 | -use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
10 | -use samsonframework\container\definition\analyzer\MethodAnalyzerInterface; |
|
11 | -use samsonframework\container\definition\ClassDefinition; |
|
12 | -use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
|
9 | +use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
10 | +use samsonframework\container\definition\analyzer\MethodAnalyzerInterface; |
|
11 | +use samsonframework\container\definition\ClassDefinition; |
|
12 | +use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
|
13 | 13 | use samsonframework\container\definition\MethodDefinition; |
14 | 14 | |
15 | 15 | class AnnotationMethodAnalyzer extends AbstractAnnotationAnalyzer implements MethodAnalyzerInterface |
@@ -6,10 +6,10 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\analyzer\annotation; |
8 | 8 | |
9 | -use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
10 | -use samsonframework\container\definition\analyzer\PropertyAnalyzerInterface; |
|
11 | -use samsonframework\container\definition\ClassDefinition; |
|
12 | -use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |
|
9 | +use samsonframework\container\definition\analyzer\DefinitionAnalyzer; |
|
10 | +use samsonframework\container\definition\analyzer\PropertyAnalyzerInterface; |
|
11 | +use samsonframework\container\definition\ClassDefinition; |
|
12 | +use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |
|
13 | 13 | use samsonframework\container\definition\PropertyDefinition; |
14 | 14 | |
15 | 15 | class AnnotationPropertyAnalyzer extends AbstractAnnotationAnalyzer implements PropertyAnalyzerInterface |
@@ -6,13 +6,12 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\analyzer; |
8 | 8 | |
9 | -use samsonframework\container\definition\analyzer\exception\ParameterNotFoundException; |
|
10 | -use samsonframework\container\definition\builder\DefinitionBuilder; |
|
11 | -use samsonframework\container\definition\analyzer\exception\WrongAnalyzerTypeException; |
|
12 | -use samsonframework\container\definition\ClassDefinition; |
|
13 | -use samsonframework\container\definition\MethodDefinition; |
|
9 | +use samsonframework\container\definition\analyzer\exception\ParameterNotFoundException; |
|
10 | +use samsonframework\container\definition\builder\DefinitionBuilder; |
|
11 | +use samsonframework\container\definition\analyzer\exception\WrongAnalyzerTypeException; |
|
12 | +use samsonframework\container\definition\ClassDefinition; |
|
13 | +use samsonframework\container\definition\MethodDefinition; |
|
14 | 14 | use samsonframework\container\definition\ParameterDefinition; |
15 | -use samsonframework\container\tests\classes\annotation\PropClass; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * Class DefinitionAnalyzer |
@@ -6,21 +6,21 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\builder; |
8 | 8 | |
9 | -use samsonframework\container\definition\ClassDefinition; |
|
10 | -use samsonframework\container\definition\builder\exception\ReferenceNotImplementsException; |
|
11 | -use samsonframework\container\definition\MethodDefinition; |
|
12 | -use samsonframework\container\definition\PropertyDefinition; |
|
13 | -use samsonframework\container\definition\reference\BoolReference; |
|
14 | -use samsonframework\container\definition\reference\ClassReference; |
|
15 | -use samsonframework\container\definition\reference\CollectionReference; |
|
16 | -use samsonframework\container\definition\reference\ConstantReference; |
|
17 | -use samsonframework\container\definition\reference\FloatReference; |
|
18 | -use samsonframework\container\definition\reference\IntegerReference; |
|
19 | -use samsonframework\container\definition\reference\NullReference; |
|
20 | -use samsonframework\container\definition\reference\ParameterReference; |
|
21 | -use samsonframework\container\definition\reference\ReferenceInterface; |
|
22 | -use samsonframework\container\definition\reference\ServiceReference; |
|
23 | -use samsonframework\container\definition\reference\StringReference; |
|
9 | +use samsonframework\container\definition\ClassDefinition; |
|
10 | +use samsonframework\container\definition\builder\exception\ReferenceNotImplementsException; |
|
11 | +use samsonframework\container\definition\MethodDefinition; |
|
12 | +use samsonframework\container\definition\PropertyDefinition; |
|
13 | +use samsonframework\container\definition\reference\BoolReference; |
|
14 | +use samsonframework\container\definition\reference\ClassReference; |
|
15 | +use samsonframework\container\definition\reference\CollectionReference; |
|
16 | +use samsonframework\container\definition\reference\ConstantReference; |
|
17 | +use samsonframework\container\definition\reference\FloatReference; |
|
18 | +use samsonframework\container\definition\reference\IntegerReference; |
|
19 | +use samsonframework\container\definition\reference\NullReference; |
|
20 | +use samsonframework\container\definition\reference\ParameterReference; |
|
21 | +use samsonframework\container\definition\reference\ReferenceInterface; |
|
22 | +use samsonframework\container\definition\reference\ServiceReference; |
|
23 | +use samsonframework\container\definition\reference\StringReference; |
|
24 | 24 | use samsonframework\generator\ClassGenerator; |
25 | 25 | |
26 | 26 | /** |
@@ -7,7 +7,6 @@ |
||
7 | 7 | */ |
8 | 8 | namespace samsonframework\container\definition; |
9 | 9 | |
10 | -use samsonframework\container\definition\reference\ReferenceInterface; |
|
11 | 10 | use samsonframework\container\definition\scope\AbstractScope; |
12 | 11 | use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
13 | 12 | use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |
@@ -267,7 +267,7 @@ |
||
267 | 267 | /** |
268 | 268 | * Convert xml to array |
269 | 269 | * |
270 | - * @param $xmlObject |
|
270 | + * @param \SimpleXMLElement $xmlObject |
|
271 | 271 | * @param array $out |
272 | 272 | * @return array |
273 | 273 | */ |
@@ -6,25 +6,25 @@ |
||
6 | 6 | */ |
7 | 7 | namespace samsonframework\container\definition\resolver\xml; |
8 | 8 | |
9 | -use samsonframework\container\definition\builder\DefinitionBuilder; |
|
10 | -use samsonframework\container\definition\ClassDefinition; |
|
11 | -use samsonframework\container\definition\exception\ClassDefinitionAlreadyExistsException; |
|
12 | -use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
|
13 | -use samsonframework\container\definition\exception\ParameterDefinitionAlreadyExistsException; |
|
14 | -use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |
|
15 | -use samsonframework\container\definition\MethodDefinition; |
|
16 | -use samsonframework\container\definition\reference\BoolReference; |
|
17 | -use samsonframework\container\definition\reference\ClassReference; |
|
18 | -use samsonframework\container\definition\reference\CollectionItem; |
|
19 | -use samsonframework\container\definition\reference\CollectionReference; |
|
20 | -use samsonframework\container\definition\reference\ConstantReference; |
|
21 | -use samsonframework\container\definition\reference\FloatReference; |
|
22 | -use samsonframework\container\definition\reference\IntegerReference; |
|
23 | -use samsonframework\container\definition\reference\NullReference; |
|
24 | -use samsonframework\container\definition\reference\ParameterReference; |
|
25 | -use samsonframework\container\definition\reference\ReferenceInterface; |
|
26 | -use samsonframework\container\definition\reference\ServiceReference; |
|
27 | -use samsonframework\container\definition\reference\StringReference; |
|
9 | +use samsonframework\container\definition\builder\DefinitionBuilder; |
|
10 | +use samsonframework\container\definition\ClassDefinition; |
|
11 | +use samsonframework\container\definition\exception\ClassDefinitionAlreadyExistsException; |
|
12 | +use samsonframework\container\definition\exception\MethodDefinitionAlreadyExistsException; |
|
13 | +use samsonframework\container\definition\exception\ParameterDefinitionAlreadyExistsException; |
|
14 | +use samsonframework\container\definition\exception\PropertyDefinitionAlreadyExistsException; |
|
15 | +use samsonframework\container\definition\MethodDefinition; |
|
16 | +use samsonframework\container\definition\reference\BoolReference; |
|
17 | +use samsonframework\container\definition\reference\ClassReference; |
|
18 | +use samsonframework\container\definition\reference\CollectionItem; |
|
19 | +use samsonframework\container\definition\reference\CollectionReference; |
|
20 | +use samsonframework\container\definition\reference\ConstantReference; |
|
21 | +use samsonframework\container\definition\reference\FloatReference; |
|
22 | +use samsonframework\container\definition\reference\IntegerReference; |
|
23 | +use samsonframework\container\definition\reference\NullReference; |
|
24 | +use samsonframework\container\definition\reference\ParameterReference; |
|
25 | +use samsonframework\container\definition\reference\ReferenceInterface; |
|
26 | +use samsonframework\container\definition\reference\ServiceReference; |
|
27 | +use samsonframework\container\definition\reference\StringReference; |
|
28 | 28 | use samsonframework\container\definition\resolver\exception\ReferenceNotImplementsException; |
29 | 29 | |
30 | 30 | /** |