router advanced behavior

I get error when I have controler name like this: "ClientSessionController", when i changed name to "ClientsessionController" everything is ok, is this a bug?

ClientSessionController setuped like there: $router->add('/client/:controller', array( 'namespace' => 'Controllers\Client', 'controller' => 1 ));

I think it because router is case sensitive and controller name is not.


That depends on how you pass the controller in the URI:

clientsession -> ClientsessionController ClientSession -> ClientsessionController client-session -> ClientSessionController client_session -> ClientSessionController


Thank you for explanation. This works like in zf, I completely forgotten to try it. Now founded in doc: