PMA\libraries\Template::removeHelper PHP Method

removeHelper() public method

Removes a function
public removeHelper ( string $funcName )
$funcName string function name
    public function removeHelper($funcName)
    {
        if (isset($this->helperFunctions[$funcName])) {
            unset($this->helperFunctions[$funcName]);
        } else {
            throw new \LogicException('The function "' . $funcName . '" is not associated with the template.');
        }
    }