function Template::__construct

File

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

Class

Template

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation

Code

public function __construct(array $values) {
  $this->name = isset($values['value']) ? $values['value'] : null;
}

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