Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  */
 public function run(InputInterface $input = null, OutputInterface $output = null)
 {
     if (null === $output) {
         $output = Factory::createOutput();
     }
     return parent::run($input, $output);
 }
Ejemplo n.º 2
0
 public function __construct($loaded = null)
 {
     $this->output = Factory::createOutput();
     parent::__construct($this->output);
     $loaded = null === $loaded ? true : $loaded;
     $class = new \ReflectionClass(get_parent_class($this));
     $prop = $class->getProperty('loaded');
     $prop->setAccessible(true);
     $prop->setValue($this, $loaded);
     $this->restarted = false;
 }