22 lines
510 B
PHP
22 lines
510 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pcm\IconBundle;
|
|
|
|
use Pcm\IconBundle\DependencyInjection\PcmIconExtension;
|
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
|
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;
|
|
}
|
|
}
|