File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Tests/Kernel/flex-style/src Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ CHANGELOG
99 * Added the ` framework.router.default_uri ` configuration option to configure the default ` RequestContext `
1010 * Made ` MicroKernelTrait::configureContainer() ` compatible with ` ContainerConfigurator `
1111 * Added a new ` mailer.message_bus ` option to configure or disable the message bus to use to send mails.
12- * Added flex-compatible default implementations for ` MicroKernelTrait::registerBundles() ` and ` getProjectDir ()`
12+ * Added flex-compatible default implementation for ` MicroKernelTrait::registerBundles() `
1313 * Deprecated passing a ` RouteCollectionBuilder ` to ` MicroKernelTrait::configureRoutes() ` , type-hint ` RoutingConfigurator ` instead
1414 * The ` TemplateController ` now accepts context argument
1515 * Deprecated * not* setting the "framework.router.utf8" configuration option as it will default to ` true ` in Symfony 6.0
Original file line number Diff line number Diff line change @@ -60,14 +60,6 @@ abstract protected function configureRoutes(RoutingConfigurator $routes);
6060 */
6161 abstract protected function configureContainer (ContainerConfigurator $ c );
6262
63- /**
64- * {@inheritdoc}
65- */
66- public function getProjectDir (): string
67- {
68- return \dirname ((new \ReflectionObject ($ this ))->getFileName (), 2 );
69- }
70-
7163 /**
7264 * {@inheritdoc}
7365 */
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ public function getLogDir(): string
5050 return $ this ->cacheDir ;
5151 }
5252
53+ public function getProjectDir (): string
54+ {
55+ return \dirname ((new \ReflectionObject ($ this ))->getFileName (), 2 );
56+ }
57+
5358 public function __sleep (): array
5459 {
5560 throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
You can’t perform that action at this time.
0 commit comments