Secure.php in Drupal 8
Same filename and directory in other branches
File
core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.phpView source
<?php
// @codingStandardsIgnoreFile
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'];
}
}