final public function Annotation::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/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
- modules/
providers/ service_container_annotation_discovery/ lib/ 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;
}
}