You are here

Secure.php in Drupal 8

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php
View 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'];
  }

}

Classes

Namesort descending Description
Secure