These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace MediaMonks\SonataMediaBundle; |
||
4 | |||
5 | use MediaMonks\SonataMediaBundle\DependencyInjection\MediaMonksSonataMediaExtension; |
||
6 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
7 | |||
8 | /** |
||
9 | * @author Robert Slootjes <[email protected]> |
||
10 | */ |
||
11 | class MediaMonksSonataMediaBundle extends Bundle |
||
12 | { |
||
13 | const BUNDLE_CONFIG_NAME = 'mediamonks_sonata_media'; |
||
14 | |||
15 | /** |
||
16 | * @inheritdoc |
||
17 | */ |
||
18 | public function getContainerExtension() |
||
19 | { |
||
20 | if (null === $this->extension) { |
||
21 | $this->extension = new MediaMonksSonataMediaExtension(); |
||
22 | } |
||
23 | |||
24 | return $this->extension; |
||
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
![]() |
|||
25 | } |
||
26 | } |
||
27 |