public function HelperSet::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Helper/HelperSet.php \Symfony\Component\Console\Helper\HelperSet::__construct()
Constructor.
Parameters
Helper[] $helpers An array of helper.:
File
- vendor/
symfony/ console/ Helper/ HelperSet.php, line 31
Class
- HelperSet
- HelperSet represents a set of helpers to be used with a command.
Namespace
Symfony\Component\Console\HelperCode
public function __construct(array $helpers = array()) {
foreach ($helpers as $alias => $helper) {
$this
->set($helper, is_int($alias) ? null : $alias);
}
}