final public function AnnotationWithAttributes::__construct

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/Fixtures/AnnotationWithAttributes.php, line 24

Class

AnnotationWithAttributes
Plugin annotation @Target("ALL") @Attributes({ @Attribute("mixed", type = "mixed"), @Attribute("boolean", type = "boolean"), @Attribute("bool", type = "bool"), @Attribute("float", …

Namespace

Doctrine\Tests\Common\Annotations\Fixtures

Code

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