class Secure in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
Hierarchy
- class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
Expanded class hierarchy of Secure
Related topics
File
- core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ Annotation/ Secure.php, line 6
Namespace
Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationView source
class Secure {
private $roles;
public function __construct(array $values) {
if (is_string($values['value'])) {
$values['value'] = array(
$values['value'],
);
}
$this->roles = $values['value'];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Secure:: |
private | property | ||
Secure:: |
public | function |