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;
    }
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;
    }
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 ; }
Remove a template function.
@param  string $name
@return ViewHelpers
Remove a template function .