Gets a helper value.
InvalidArgumentException if the helper is not defined
public function get(string $name) : HelperInterface { if (!$this->has($name)) { throw new InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name)); } return $this->helpers[$name]; }