src/DynamicMethodTrait.php
public function removeGlobalMethod($name)
    {
        if (isset($this->_appScopeTrait) && isset($this->app->_hookTrait)) {
            $this->app->removeHook('global-method-'.$name);
        }

        return $this;
    }
public function removeGlobalMethod($name)
    {
        if (isset($this->_appScopeTrait) && isset($this->app->_hookTrait)) {
            $this->app->removeHook('global-method-'.$name);
        }

        return $this;
    }
public function removeGlobalMethod ( $ name ) { if ( isset ( $ this -> _appScopeTrait ) && isset ( $ this -> app -> _hookTrait ) ) { $ this -> app -> removeHook ( 'global-method-' . $ name ) ; } return $ this ; }
Remove dynamically registered global method.

@param string $name Name of the method

@return $this
Remove dynamically registered global method .