Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / common / tests / Doctrine / Tests / Common / Annotations / Fixtures / Annotation / Secure.php
1 <?php
2
3 namespace Doctrine\Tests\Common\Annotations\Fixtures\Annotation;
4
5 /** @Annotation */
6 class Secure
7 {
8     private $roles;
9
10     public function __construct(array $values)
11     {
12         if (is_string($values['value'])) {
13             $values['value'] = array($values['value']);
14         }
15
16         $this->roles = $values['value'];
17     }
18 }