Symfony\Component\Console\Command\Command::getHelper
Gets a helper instance by name.
Signature
public function getHelper(string
$name )
Parameters
$name
— string- The helper name
Returns
- mixed
- The helper value
Errors/Exceptions
-
InvalidArgumentException
- if the helper is not defined