bundles/DealsDistributionBundle/src/DealsDistributionBundle.php line 8

Open in your IDE?
  1. <?php declare(strict_types=1);
  2. namespace OnlineOcenka\DealsDistributionBundle;
  3. use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
  4. use Symfony\Component\HttpKernel\Bundle\Bundle;
  5. class DealsDistributionBundle extends Bundle
  6. {
  7.     public function getPath(): string
  8.     {
  9.         return \dirname(__DIR__);
  10.     }
  11.     protected function createContainerExtension(): ?ExtensionInterface
  12.     {
  13.         return new DealsDistributionExtension($this->getName());
  14.     }
  15. }