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
9
9
* Added the ` framework.router.default_uri ` configuration option to configure the default ` RequestContext `
10
10
* Made ` MicroKernelTrait::configureContainer() ` compatible with ` ContainerConfigurator `
11
11
* 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() `
13
13
* Deprecated passing a ` RouteCollectionBuilder ` to ` MicroKernelTrait::configureRoutes() ` , type-hint ` RoutingConfigurator ` instead
14
14
* The ` TemplateController ` now accepts context argument
15
15
* 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);
60
60
*/
61
61
abstract protected function configureContainer (ContainerConfigurator $ c );
62
62
63
- /**
64
- * {@inheritdoc}
65
- */
66
- public function getProjectDir (): string
67
- {
68
- return \dirname ((new \ReflectionObject ($ this ))->getFileName (), 2 );
69
- }
70
-
71
63
/**
72
64
* {@inheritdoc}
73
65
*/
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ public function getLogDir(): string
50
50
return $ this ->cacheDir ;
51
51
}
52
52
53
+ public function getProjectDir (): string
54
+ {
55
+ return \dirname ((new \ReflectionObject ($ this ))->getFileName (), 2 );
56
+ }
57
+
53
58
public function __sleep (): array
54
59
{
55
60
throw new \BadMethodCallException ('Cannot serialize ' .__CLASS__ );
You can’t perform that action at this time.
0 commit comments