final public function Annotation::__construct in Plug 7
Constructor.
Parameters
array $data Key-value for properties to be defined in this class.:
File
- 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;
}
}