ZF2-302: Zend\Mvc\Router\RouteInterface is not graceful
Description
the definition of RouteInterface contains a static method, it' not graceful.
interface RouteInterface
{
/**
* Priority used for route stacks.
*
* @var integer
* public $priority;
*/
/**
* Create a new route with given options.
*
* @param array|\Traversable $options
* @return void
*/
public static function factory($options = array());
should we modify it like this?
interface RouteInterface
{
/**
* Priority used for route stacks.
*
* @var integer
* public $priority;
*/
/**
* configure route with given options.
*
* @param array|\Traversable $options
* @return void
*/
public function configure($options = array());
Comments
Posted by Ralph Schindler (ralph) on 2012-10-08T20:16:37.000+0000
This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf2/issues/2481