function AnnotationWithRequiredAttributes::__construct
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::__construct()
- 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::__construct()
- 11.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithRequiredAttributes::__construct()
File
-
core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ Fixtures/ AnnotationWithRequiredAttributes.php, line 18
Class
- AnnotationWithRequiredAttributes
- Plugin annotation @Target("ALL") @Attributes({ @Attribute("value", required = true , type = "string"), @Attribute("annot", required = true , type =…
Namespace
Drupal\Tests\Component\Annotation\Doctrine\FixturesCode
public final function __construct(array $data) {
foreach ($data as $key => $value) {
$this->{$key} = $value;
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.