Hi! Is there anyway to get a value from a route param inside the beforeMatch callback???
something like:
    <?php
    $router->add( '/:module/([a-zA-Z]+)', array(
      'module'     => 1,
      'controller'  => 'multi-model',
      'model'       => 2
    ))
    ->beforeMatch( function( $uri, $route ){
        // i need the value of 'model' param
        $model = $route->getParam('model');
        if( !in_array( $model, $allowedModels ) )
            return false;
        return true;
    });I need this, because if the model is not in the allowedModels array the route will be treated as non-matched, then, the route can find new matches.
thanks!