src/main/php/routing/Routing.php
public function preInterceptOnGet($preInterceptor, string $path = null): RoutingConfigurator
    {
        return $this->preIntercept($preInterceptor, $path, 'GET');
    }
public function preInterceptOnGet($preInterceptor, string $path = null): RoutingConfigurator
    {
        return $this->preIntercept($preInterceptor, $path, 'GET');
    }
public function preInterceptOnGet ( $ preInterceptor , string $ path = null ) : RoutingConfigurator { return $ this -> preIntercept ( $ preInterceptor , $ path , 'GET' ) ; }
pre intercept with given class or callable on all GET requests

@param   string|callable|\stubbles\webapp\intercepto\PreInterceptor  $preInterceptor  pre interceptor to add
@param   string                                                      $path            optional  path for which pre interceptor should be executed
@return  \stubbles\webapp\RoutingConfigurator
pre intercept with given class or callable on all GET requests