/** * DbCommand constructor. * @param string $name * @param string $description */ public function __construct($name, $description) { $this->dbName = $name; $this->dbDesc = $description; parent::__construct(); }
/** * 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(); }