Secure.php
Same filename in other branches
Namespace
Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationFile
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ Annotation/ Secure.php
View source
<?php
namespace Drupal\Tests\Component\Annotation\Doctrine\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'];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
Secure |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.