Horde_Registry::_methodLookup PHP Method

_methodLookup() protected method

Do a lookup of method name -> app call.
protected _methodLookup ( string $method ) : mixed
$method string The method name.
return mixed An array containing the app and method call, or false if not found.
    protected function _methodLookup($method)
    {
        list($interface, $call) = explode('/', $method, 2);
        if (!empty($this->_interfaces[$method])) {
            return array($this->_interfaces[$method], $call);
        } elseif (!empty($this->_interfaces[$interface])) {
            return array($this->_interfaces[$interface], $call);
        }
        return false;
    }