vendor/globosphere/s3-bundle/src/S3Bundle.php line 9

Open in your IDE?
  1. <?php
  2. namespace Globosphere\S3Bundle;
  3. use Symfony\Component\DependencyInjection\ContainerBuilder;
  4. use Symfony\Component\DependencyInjection\ContainerInterface;
  5. use Symfony\Component\HttpKernel\Bundle\Bundle;
  6. class S3Bundle extends Bundle
  7. {
  8.     private static ContainerInterface $containerInstance;
  9.     public function build(ContainerBuilder $container)
  10.     {
  11.         parent::build($container);
  12.     }
  13.     public function setContainer(ContainerInterface $container null): void
  14.     {
  15.         parent::setContainer($container);
  16.         if ($container instanceof ContainerInterface) {
  17.             self::$containerInstance $container;
  18.         }
  19.     }
  20.     /**
  21.      * @return ContainerInterface
  22.      */
  23.     public static function getContainer(): ContainerInterface
  24.     {
  25.         return self::$containerInstance;
  26.     }
  27.     public function getPath(): string
  28.     {
  29.         return dirname(__DIR__);
  30.     }
  31. }