src/main/php/routing/Routing.php
private function getPreInterceptors(CalledUri $calledUri, Route $route = null): array
    {
        $global = $this->getApplicable($calledUri, $this->preInterceptors);
        if (null === $route) {
            return $global;
        }

        return array_merge($global, $route->preInterceptors());
    }
private function getPreInterceptors(CalledUri $calledUri, Route $route = null): array
    {
        $global = $this->getApplicable($calledUri, $this->preInterceptors);
        if (null === $route) {
            return $global;
        }

        return array_merge($global, $route->preInterceptors());
    }
private function getPreInterceptors ( CalledUri $ calledUri , Route $ route = null ) : array { $ global = $ this -> getApplicable ( $ calledUri , $ this -> preInterceptors ) ; if ( null === $ route ) { return $ global ; } return array_merge ( $ global , $ route -> preInterceptors ( ) ) ; }
returns list of applicable pre interceptors for this request

@param   \stubbles\webapp\routing\CalledUri  $calledUri
@param   \stubbles\webapp\routing\Route      $route
@return  array
returns list of applicable pre interceptors for this request