You are here

class Template in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template

Hierarchy

  • class \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation\Template

Expanded class hierarchy of Template

Related topics

File

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

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation
View source
class Template {
  private $name;
  public function __construct(array $values) {
    $this->name = isset($values['value']) ? $values['value'] : null;
  }

}

Members