Skip to content

Commit a46603e

Browse files
committed
Migrate to new bundle directory structure
1 parent 749f345 commit a46603e

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed
File renamed without changes.
File renamed without changes.

src/LeagueOAuth2ServerBundle.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,11 @@ private function configureDoctrineExtension(ContainerBuilder $container): void
5454

5555
$container->addCompilerPass(new EncryptionKeyPass());
5656
}
57+
58+
public function getPath(): string
59+
{
60+
$reflected = new \ReflectionObject($this);
61+
62+
return \dirname($reflected->getFileName() ?: __FILE__, 2);
63+
}
5764
}

0 commit comments

Comments
 (0)