Phalcon 2 BETA 3: Phalcon\Mvc\Router doesn't implement Phalcon\Mvc\RouterInterface

I'm not sure if there is any change to Phalcon\Mvc\Router in Phalcon 2 but it doesn't seem to implement Phalcon\Mvc\RouterInterface while for Phalcon 1.3.4, it works as expected (Router is an instance of RouterInterface).

echo Phalcon\Version::get(), PHP_EOL;
var_dump((new Phalcon\Mvc\Router()) instanceof Phalcon\Mvc\RouterInterface);
$ref = new ReflectionClass('Phalcon\\Mvc\\Router');


2.0.0 BETA 3
array(0) {

My env: PHP 5.6.4, Debian.


edited Jan '15

A quick look at phalcon/mvc/router.zep shows that the Router class doesn't implement both Phalcon\Mvc\RouterInterface and Phalcon\DI\InjectionAwareInterface. Is it on purpose or do I miss something?


Just add issue on github :)

The issue is fixed by b2903192238c79baec8f7290a06ce6d290fecaa8.