MediaMonks /
symfony-rest-api-bundle
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\RestApiBundle; |
||
| 4 | |||
| 5 | use MediaMonks\RestApiBundle\DependencyInjection\MediaMonksRestApiExtension; |
||
| 6 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
| 7 | |||
| 8 | class MediaMonksRestApiBundle extends Bundle |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @inheritdoc |
||
| 12 | */ |
||
| 13 | 1 | public function getContainerExtension() |
|
| 14 | { |
||
| 15 | 1 | if (null === $this->extension) { |
|
| 16 | 1 | $this->extension = new MediaMonksRestApiExtension(); |
|
| 17 | } |
||
| 18 | |||
| 19 | 1 | return $this->extension; |
|
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
Loading history...
|
|||
| 20 | } |
||
| 21 | } |
||
| 22 |