Пример #1
0
 /**
  * DbCommand constructor.
  * @param string $name
  * @param string $description
  */
 public function __construct($name, $description)
 {
     $this->dbName = $name;
     $this->dbDesc = $description;
     parent::__construct();
 }
Пример #2
0
 /**
  * Wraps any CommandInterface to expose it as a console command
  *
  * NodeControlCommand constructor.
  * @param CommandInterface $command
  */
 public function __construct(CommandInterface $command)
 {
     $this->command = $command;
     parent::__construct();
 }