class Secure

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
  2. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Secure
  3. 11.x 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

1 string reference to 'Secure'
WebTestBase::curlHeaderCallback in core/modules/simpletest/src/WebTestBase.php
Reads headers and registers errors received from the tested site.

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php, line 7

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation
View 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

Title Sort descending Modifiers Object type Summary
Secure::$roles private property
Secure::__construct public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.