@@ -80,7 +80,7 @@ public static function generate(Configuration $configuration, string $pathPrefix
80
80
}
81
81
82
82
$ class ->addStmt (
83
- $ factory ->property ('routers ' )->setType ('Routers ' )->makeReadonly ()->makePrivate (),
83
+ $ factory ->property ('routers ' )->setType ('Internal \\ Routers ' )->makeReadonly ()->makePrivate (),
84
84
)->addStmt (
85
85
$ factory ->method ('__construct ' )->makePublic ()->addParam (
86
86
(new Param ('authentication ' ))->setType ('\\' . AuthenticationInterface::class),
@@ -143,7 +143,7 @@ public static function generate(Configuration $configuration, string $pathPrefix
143
143
new Node \Expr \Assign (
144
144
new Node \Expr \Variable ('hydrators ' ),
145
145
new Node \Expr \New_ (
146
- new Node \Name ('Hydrators ' ),
146
+ new Node \Name ('Internal \\ Hydrators ' ),
147
147
[],
148
148
),
149
149
),
@@ -159,7 +159,7 @@ public static function generate(Configuration $configuration, string $pathPrefix
159
159
[
160
160
new Arg (
161
161
new Node \Expr \New_ (
162
- new Node \Name ('Operators ' ),
162
+ new Node \Name ('Internal \\ Operators ' ),
163
163
[
164
164
new Arg (
165
165
new Node \Expr \Variable ('browser ' ),
@@ -239,7 +239,7 @@ public static function generate(Configuration $configuration, string $pathPrefix
239
239
'routers ' ,
240
240
),
241
241
new Node \Expr \New_ (
242
- new Node \Name ('Routers ' ),
242
+ new Node \Name ('Internal \\ Routers ' ),
243
243
[
244
244
new Arg (
245
245
new Node \Expr \Variable ('browser ' ),
@@ -374,7 +374,7 @@ public static function generate(Configuration $configuration, string $pathPrefix
374
374
),
375
375
);
376
376
$ chunkCountClasses [] = $ cc = new ChunkCount (
377
- 'Router \\' . (new Convert ($ method ))->toPascal () . '\\' . (new Convert (NumberToWords::transformNumber ('en ' , $ chunkCount )))->toPascal (),
377
+ 'Internal \\ Router \\' . (new Convert ($ method ))->toPascal () . '\\' . (new Convert (NumberToWords::transformNumber ('en ' , $ chunkCount )))->toPascal (),
378
378
$ returnTypes ,
379
379
$ docBlockReturnTypes ,
380
380
self ::traverseOperations (
@@ -1029,7 +1029,7 @@ private static function createRouter(string $pathPrefix, string $namespace, Rout
1029
1029
)->addParam (
1030
1030
(new PrivatePromotedPropertyAsParam ('responseSchemaValidator ' ))->setType ('\League\OpenAPIValidation\Schema\SchemaValidator ' ),
1031
1031
)->addParam (
1032
- (new PrivatePromotedPropertyAsParam ('hydrators ' ))->setType ('\\' . $ namespace . ' Hydrators ' ),
1032
+ (new PrivatePromotedPropertyAsParam ('hydrators ' ))->setType ('Internal \\ Hydrators ' ),
1033
1033
)->addParam (
1034
1034
(new PrivatePromotedPropertyAsParam ('browser ' ))->setType ('\\' . Browser::class),
1035
1035
)->addParam (
@@ -1071,7 +1071,7 @@ private static function createRouterChunkSize(string $pathPrefix, string $namesp
1071
1071
1072
1072
$ class = $ factory ->class (Utils::basename ($ namespace . $ chunkCount ->className ))->makeFinal ()->addStmt (
1073
1073
$ factory ->method ('__construct ' )->makePublic ()->addParam (
1074
- (new PrivatePromotedPropertyAsParam ('routers ' ))->setType ('\\' . $ namespace . 'Routers ' ),
1074
+ (new PrivatePromotedPropertyAsParam ('routers ' ))->setType ('\\' . $ namespace . 'Internal \\ Routers ' ),
1075
1075
),
1076
1076
);
1077
1077
0 commit comments