예제 #1
0
 /**
  * @param EntityManager $entityManager
  * @param string        $runtime
  */
 public function __construct(EntityManager $entityManager, $runtime)
 {
     parent::__construct();
     $this->entityManager = $entityManager;
     $this->runtime = $runtime;
     $this->commandName = $this->getName();
 }
 /**
  * @param Application $application
  */
 public function __construct(Application $application)
 {
     parent::__construct();
     $this->application = $application;
 }
예제 #3
0
 public function __construct($name)
 {
     $this->path = $name;
     parent::__construct(null);
 }
예제 #4
0
 /**
  * @param OutputInterface $output
  */
 public function __construct(OutputInterface $output)
 {
     parent::__construct();
     $this->output = $output;
 }
예제 #5
0
 /**
  * Initializes this command with its dependencies.
  *
  * @param Factory $factory
  */
 public function __construct(Factory $factory)
 {
     parent::__construct('template:list');
     $this->factory = $factory;
 }