It would be fine to post the related docblock
Sure (sorry)
/**
* @Permission("deny")
* @Route("/login", name="users-login")
*/
And here is the generated annotation file:
<?php return Phalcon\Annotations\Reflection::__set_state(array(
'_reflectionData' =>
array (
'class' =>
array (
0 =>
array (
'type' => 300,
'name' => 'package',
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 8,
),
1 =>
array (
'type' => 300,
'name' => 'RoutePrefix',
'arguments' =>
array (
0 =>
array (
'expr' =>
array (
'type' => 303,
'value' => '/users',
),
),
),
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 8,
),
),
'methods' =>
array (
'loginAction' =>
array (
0 =>
array (
'type' => 300,
'name' => 'Permission',
'arguments' =>
array (
0 =>
array (
'expr' =>
array (
'type' => 303,
'value' => 'deny',
),
),
),
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 16,
),
1 =>
array (
'type' => 300,
'name' => 'Route',
'arguments' =>
array (
0 =>
array (
'expr' =>
array (
'type' => 303,
'value' => '/login',
),
),
1 =>
array (
'expr' =>
array (
'type' => 303,
'value' => 'users-login',
),
'name' => 'name',
),
),
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 16,
),
),
'registerAction' =>
array (
0 =>
array (
'type' => 300,
'name' => 'Route',
'arguments' =>
array (
0 =>
array (
'expr' =>
array (
'type' => 303,
'value' => '/register',
),
),
),
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 54,
),
),
'indexAction' =>
array (
0 =>
array (
'type' => 300,
'name' => 'Permission',
'arguments' =>
array (
0 =>
array (
'expr' =>
array (
'type' => 303,
'value' => 'users-index',
),
),
),
'file' => '/var/www/clients/client1/web2/web/app/controllers/UsersController.php',
'line' => 63,
),
),
),
),
'_classAnnotations' => NULL,
'_methodAnnotations' => NULL,
'_propertyAnnotations' => NULL,
));