src/main/php/routing/Routing.php
private function resolveResource(CalledUri $calledUri, Route $route): ResolvingResource
    {
        return new ResolvingResource(
                $this->injector,
                $calledUri,
                $this->collectInterceptors($calledUri, $route),
                $this->supportedMimeTypes($route),
                $route
        );
    }
private function resolveResource(CalledUri $calledUri, Route $route): ResolvingResource
    {
        return new ResolvingResource(
                $this->injector,
                $calledUri,
                $this->collectInterceptors($calledUri, $route),
                $this->supportedMimeTypes($route),
                $route
        );
    }
private function resolveResource ( CalledUri $ calledUri , Route $ route ) : ResolvingResource { return new ResolvingResource ( $ this -> injector , $ calledUri , $ this -> collectInterceptors ( $ calledUri , $ route ) , $ this -> supportedMimeTypes ( $ route ) , $ route ) ; }
creates matching route

@param   \stubbles\webapp\routing\CalledUri  $calledUri
@param   \stubbles\webapp\routing\Route      $route
@return  \stubbles\webapp\routing\ResolvingResource
creates matching route