function Annotation::__construct
Same name in this branch
- 11.1.x vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/Annotation.php \SlevomatCodingStandard\Helpers\Annotation::__construct()
- 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/GeneratedCodeInfo/Annotation.php \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation::__construct()
Parameters
array<string, mixed> $data Key-value for properties to be defined in this class. :
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Annotation.php, line 22
Class
- Annotation
- Annotations class.
Namespace
Doctrine\Common\AnnotationsCode
public final function __construct(array $data) {
foreach ($data as $key => $value) {
$this->{$key} = $value;
}
}