123456789101112131415161718 |
- <?php
- namespace Doctrine\Tests\Common\Annotations\Fixtures\Annotation;
- /** @Annotation */
- class Secure
- {
- private $roles;
- public function __construct(array $values)
- {
- if (is_string($values['value'])) {
- $values['value'] = array($values['value']);
- }
- $this->roles = $values['value'];
- }
- }
|