diff --git a/src/DoctrineBundle.php b/src/DoctrineBundle.php index 9926beab..9751cdb7 100644 --- a/src/DoctrineBundle.php +++ b/src/DoctrineBundle.php @@ -30,6 +30,7 @@ use function assert; use function class_exists; use function clearstatcache; +use function dirname; use function spl_autoload_unregister; /** @final since 2.9 */ @@ -168,4 +169,9 @@ public function shutdown() public function registerCommands(Application $application) { } + + public function getPath(): string + { + return dirname(__DIR__); + } }