| 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; |
|
| 20 | } |
||
| 21 | } |
||
| 22 |