private $command;
/**
- * Constructor.
- *
* @param Helper[] $helpers An array of helper
*/
public function __construct(array $helpers = array())
{
foreach ($helpers as $alias => $helper) {
- $this->set($helper, is_int($alias) ? null : $alias);
+ $this->set($helper, \is_int($alias) ? null : $alias);
}
}
return $this->helpers[$name];
}
- /**
- * Sets the command associated with this helper set.
- *
- * @param Command $command A Command instance
- */
public function setCommand(Command $command = null)
{
$this->command = $command;