Ptondereau\PackMe\Commands\AbstractBaseCommand::__construct PHP Метод

__construct() публичный Метод

BaseCommand constructor.
public __construct ( Symfony\Component\Console\Helper\HelperSet $helperSet )
$helperSet Symfony\Component\Console\Helper\HelperSet
    public function __construct(HelperSet $helperSet)
    {
        $this->helperSet = $helperSet;
    }

Usage Example

Пример #1
0
 /**
  * CreateCommand constructor.
  *
  * @param CrafterInterface $crafter
  * @param HelperSet        $helperSet
  */
 public function __construct(CrafterInterface $crafter, HelperSet $helperSet)
 {
     parent::__construct($helperSet);
     $this->crafter = $crafter;
 }