SecuredController.php 274B

123456789101112131415
  1. <?php
  2. namespace JMS\SecurityExtraBundle\Tests\Controller\Fixtures;
  3. use JMS\SecurityExtraBundle\Annotation\Secure;
  4. class SecuredController
  5. {
  6. /**
  7. * @Secure(roles="ROLE_FOO")
  8. */
  9. public function action(\stdClass $a, array $b, $c, $foo = 'foo')
  10. {
  11. }
  12. }