@@ -23,72 +23,72 @@ public function __construct(array $namespaces = null)
2323
2424 public function getCommandNamespace (): string
2525 {
26- return $ this ->trim ($ this ->namespaces ['command_namespace ' ] ?? 'Command \\' );
26+ return $ this ->trim ($ this ->namespaces ['command ' ] ?? 'Command \\' );
2727 }
2828
2929 public function getControllerNamespace (): string
3030 {
31- return $ this ->trim ($ this ->namespaces ['controller_namespace ' ] ?? 'Controller \\' );
31+ return $ this ->trim ($ this ->namespaces ['controller ' ] ?? 'Controller \\' );
3232 }
3333
3434 public function getEntityNamespace (): string
3535 {
36- return $ this ->trim ($ this ->namespaces ['entity_namespace ' ] ?? 'Entity \\' );
36+ return $ this ->trim ($ this ->namespaces ['entity ' ] ?? 'Entity \\' );
3737 }
3838
3939 public function getFixturesNamespace (): string
4040 {
41- return $ this ->trim ($ this ->namespaces ['fixtures_namespace ' ] ?? 'DataFixtures \\' );
41+ return $ this ->trim ($ this ->namespaces ['fixtures ' ] ?? 'DataFixtures \\' );
4242 }
4343
4444 public function getFormNamespace (): string
4545 {
46- return $ this ->trim ($ this ->namespaces ['form_namespace ' ] ?? 'Form \\' );
46+ return $ this ->trim ($ this ->namespaces ['form ' ] ?? 'Form \\' );
4747 }
4848
4949 public function getFunctionalTestNamespace (): string
5050 {
51- return $ this ->trim ($ this ->namespaces ['functional_test_namespace ' ] ?? 'Tests \\' );
51+ return $ this ->trim ($ this ->namespaces ['functional_test ' ] ?? 'Tests \\' );
5252 }
5353
5454 public function getRepositoryNamespace (): string
5555 {
56- return $ this ->trim ($ this ->namespaces ['repository_namespace ' ] ?? 'Repository \\' );
56+ return $ this ->trim ($ this ->namespaces ['repository ' ] ?? 'Repository \\' );
5757 }
5858
5959 public function getRootNamespace (): string
6060 {
61- return $ this ->trim ($ this ->namespaces ['root_namespace ' ] ?? 'App \\' );
61+ return $ this ->trim ($ this ->namespaces ['root ' ] ?? 'App \\' );
6262 }
6363
6464 public function getSecurityNamespace (): string
6565 {
66- return $ this ->trim ($ this ->namespaces ['security_namespace ' ] ?? 'Security \\' );
66+ return $ this ->trim ($ this ->namespaces ['security ' ] ?? 'Security \\' );
6767 }
6868
6969 public function getSerializerNamespace (): string
7070 {
71- return $ this ->trim ($ this ->namespaces ['serializer_namespace ' ] ?? 'Serializer \\' );
71+ return $ this ->trim ($ this ->namespaces ['serializer ' ] ?? 'Serializer \\' );
7272 }
7373
7474 public function getSubscriberNamespace (): string
7575 {
76- return $ this ->trim ($ this ->namespaces ['subscriber_namespace ' ] ?? 'EventSubscriber \\' );
76+ return $ this ->trim ($ this ->namespaces ['subscriber ' ] ?? 'EventSubscriber \\' );
7777 }
7878
7979 public function getTwigNamespace (): string
8080 {
81- return $ this ->trim ($ this ->namespaces ['twig_namespace ' ] ?? 'Twig \\' );
81+ return $ this ->trim ($ this ->namespaces ['twig ' ] ?? 'Twig \\' );
8282 }
8383
8484 public function getUnitTestNamespace (): string
8585 {
86- return $ this ->trim ($ this ->namespaces ['unit_test_namespace ' ] ?? 'Tests \\' );
86+ return $ this ->trim ($ this ->namespaces ['unit_test ' ] ?? 'Tests \\' );
8787 }
8888
8989 public function getValidatorNamespace (): string
9090 {
91- return $ this ->trim ($ this ->namespaces ['validator_namespace ' ] ?? 'Validator \\' );
91+ return $ this ->trim ($ this ->namespaces ['validator ' ] ?? 'Validator \\' );
9292 }
9393
9494 private function trim (string $ namespace ): string
0 commit comments