I have class like below:

    class IndexGalleryController extends RestController
    {
        /**
         * @Auth("admin")
         */
        public function getAllAction()
        {
            $condition = [];
            if ( ! empty($_GET['type'])) {
                $condition['conditions']   = 'type = :type:';
                $condition['bind']['type'] = $_GET['type'];
            }

            return $this->setData(Gallery::find($condition))->send();
        }
    }

the $dispatcher->getActiveMethod() return "getallAction" (note:it should be getAllAction), but when


    // that is not working, because $dispatcher->getActiveMethod() return "getallAction" not "getAllAction"
    $annotations->getMethod(
           $dispatcher->getActiveController(),
           $dispatcher->getActiveMethod()
    );

so, how to get the real method name from dispatcher???