You are here

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\Annotations

Code

public final function __construct(array $data) {
  foreach ($data as $key => $value) {
    $this->{$key} = $value;
  }
}