-
-
Couldn't load subscription status.
- Fork 2k
Closed
Description
If method name have one word in prefix like indexAction or addAction everything works fine. But if method have a more complex name like addPostAction or showMeSomethingAction $dispatcher->getActiveMethod() returns unexpected results: addpostAction and showmesomethindAction. Method name before Action keyword unexpectedly lowercased.
It makes impossible to use this methods in annotations reader.
$annotations = $this->annotations->getMethod(
$dispatcher->getActiveController(),
$dispatcher->getActiveMethod()
);
This code not working, because $dispatcher->getActiveMethod() returns wrong method name (partially lowercased).
OS: Mac OS X 10.9.2
PHP version: 5.5.11
Phalcon version: 1.3.1
Metadata
Metadata
Assignees
Labels
No labels