Orno\Route\Dispatcher::handleMethodArgumentStrategy PHP Метод

handleMethodArgumentStrategy() защищенный Метод

Handles response to Method Argument Strategy
protected handleMethodArgumentStrategy ( string | array | Closure $controller, array $vars ) : Orno\Http\ResponseInterface
$controller string | array | Closure
$vars array
Результат Orno\Http\ResponseInterface
    protected function handleMethodArgumentStrategy($controller, array $vars)
    {
        if (is_array($controller)) {
            $controller = [$this->container->get($controller[0]), $controller[1]];
        }
        $response = $this->container->call($controller);
        return $this->determineResponse($response);
    }