Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Mvc / Router / RouteStackInterface.php
blob6dc624100e45049443a503a4aceef9da423e2c61
1 <?php
2 /**
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
8 */
10 namespace Zend\Mvc\Router;
12 interface RouteStackInterface extends RouteInterface
14 /**
15 * Add a route to the stack.
17 * @param string $name
18 * @param mixed $route
19 * @param int $priority
20 * @return RouteStackInterface
22 public function addRoute($name, $route, $priority = null);
24 /**
25 * Add multiple routes to the stack.
27 * @param array|\Traversable $routes
28 * @return RouteStackInterface
30 public function addRoutes($routes);
32 /**
33 * Remove a route from the stack.
35 * @param string $name
36 * @return RouteStackInterface
38 public function removeRoute($name);
40 /**
41 * Remove all routes from the stack and set new ones.
43 * @param array|\Traversable $routes
44 * @return RouteStackInterface
46 public function setRoutes($routes);