Symfony\Component\Templating\PhpEngine::offsetGet
Gets a helper value.
Signature
public function offsetGet(string
$name )
Parameters
$name
— string- The helper name
Returns
- HelperInterface
- The helper value
Errors/Exceptions
-
InvalidArgumentException
- if the helper is not defined