public function when($request, $permission, $httpVerbs = null)
    {
        foreach ((array) $request as $uri) {
            $this->router->when($uri, $permission, $httpVerbs ?: $this->httpVerbs);
        }
    }
public function when($request, $permission, $httpVerbs = null)
    {
        foreach ((array) $request as $uri) {
            $this->router->when($uri, $permission, $httpVerbs ?: $this->httpVerbs);
        }
    }
public function when ( $ request , $ permission , $ httpVerbs = null ) { foreach ( ( array ) $ request as $ uri ) { $ this -> router -> when ( $ uri , $ permission , $ httpVerbs ? : $ this -> httpVerbs ) ; } }
Register new filter for the specified request.

@param string|array $request
@param string       $permission
@param string       $httpVerbs
Register new filter for the specified request .