original_string: public function remove(string $name): self
      {
          if (!$this->exists($name)) {
              throw new LogicException(
                  'The template function "' . $name . '" was not found.'
              );
          }
  
          unset($this->helpers[$name]);
  
          return $this;
      }
code: public function remove(string $name): self
      {
          if (!$this->exists($name)) {
              throw new LogicException(
                  'The template function "' . $name . '" was not found.'
              );
          }
  
          unset($this->helpers[$name]);
  
          return $this;
      }
code_tokens: public function remove ( string $ name ) : self { if ( ! $ this -> exists ( $ name ) ) { throw new LogicException ( 'The template function "' . $ name . '" was not found.' ) ; } unset ( $ this -> helpers [ $ name ] ) ; return $ this ; }
docstring: Remove a template function.
  @param  string $name
  @return ViewHelpers
docstring_tokens: Remove a template function .