lithium\tests\mocks\action\MockDispatcher::_call PHP Method

_call() protected static method

protected static _call ( $callable, $request, $params )
    protected static function _call($callable, $request, $params)
    {
        if (is_callable($callable->params['controller'])) {
            return parent::_call($callable->params['controller'], $request, $params);
        }
        static::$dispatched[] = $callable;
    }