src/Service/CommandLoad.php line 20

Open in your IDE?
  1. <?php
  2. namespace App\Service;
  3. use Doctrine\Persistence\ObjectManager;
  4. use PHPZlc\PHPZlc\Bundle\Safety\ActionLoad;
  5. use Psr\Container\ContainerInterface;
  6. use Symfony\Component\Console\Event\ConsoleCommandEvent;
  7. use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
  8. class CommandLoad
  9. {
  10.     public function __construct(ContainerInterface $containerObjectManager $objectManagerParameterBagInterface $parameterBag)
  11.     {
  12.         ActionLoad::$globalContainer $container;
  13.         ActionLoad::$globalDoctrine $objectManager;
  14.         ActionLoad::$globalParameter $parameterBag;
  15.     }
  16.     public function onCommand(ConsoleCommandEvent $event)
  17.     {
  18.     }
  19. }