final public function Annotation::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php \Doctrine\Common\Annotations\Annotation::__construct()
Constructor.
Parameters
array $data Key-value for properties to be defined in this class.:
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Annotation.php, line 44
Class
- Annotation
- Annotations class.
Namespace
Doctrine\Common\AnnotationsCode
public final function __construct(array $data) {
foreach ($data as $key => $value) {
$this->{$key} = $value;
}
}