3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Mvc\Router
;
12 use Zend\Stdlib\RequestInterface
as Request
;
15 * RouteInterface interface.
17 interface RouteInterface
20 * Priority used for route stacks.
27 * Create a new route with given options.
29 * @param array|\Traversable $options
32 public static function factory($options = array());
35 * Match a given request.
37 * @param Request $request
38 * @return RouteMatch|null
40 public function match(Request
$request);
45 * @param array $params
46 * @param array $options
49 public function assemble(array $params = array(), array $options = array());