25 lines
732 B
PHP
25 lines
732 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pcm\IconBundle;
|
|
|
|
use Pcm\IconBundle\DependencyInjection\PcmIconExtension;
|
|
use Symfony\Component\Config\Definition\Configurator\DefinitionConfigurator;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
use Symfony\Component\HttpKernel\Bundle\AbstractBundle;
|
|
|
|
class PcmIconBundle extends AbstractBundle
|
|
{
|
|
public function getContainerExtension(): ?ExtensionInterface
|
|
{
|
|
if (null === $this->extension) {
|
|
$this->extension = new PcmIconExtension();
|
|
}
|
|
|
|
return $this->extension;
|
|
}
|
|
}
|