function 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
final public 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.