protected function getServiceDefinition(InputInterface $input)
 {
     $definition = parent::getServiceDefinition($input);
     $services = $input->getArgument('services');
     if (!empty($services)) {
         $services = $this->getAvailableServices(explode(',', $services));
     } else {
         $services = array();
     }
     $definition->setServices($services);
     return $definition;
 }
Ejemplo n.º 2
0
 public function __construct(Connection $connection)
 {
     parent::__construct();
     $this->connection = $connection;
 }