for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Doctrine\Tests\Annotations\Fixtures\Annotation;
/** @Annotation */
class Secure
{
private $roles;
public function __construct(array $values)
if (is_string($values['value'])) {
$values['value'] = [$values['value']];
}
$this->roles = $values['value'];