public function Command::getHelper in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Command/Command.php \Symfony\Component\Console\Command\Command::getHelper()
Gets a helper instance by name.
Parameters
string $name The helper name:
Return value
mixed The helper value
Throws
\InvalidArgumentException if the helper is not defined
File
- vendor/
symfony/ console/ Command/ Command.php, line 603
Class
- Command
- Base class for all commands.
Namespace
Symfony\Component\Console\CommandCode
public function getHelper($name) {
return $this->helperSet
->get($name);
}