You are here

public function AttributeMetadata::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Mapping/AttributeMetadata.php \Symfony\Component\Serializer\Mapping\AttributeMetadata::__construct()

Constructs a metadata for the given attribute.

Parameters

string $name:

File

vendor/symfony/serializer/Mapping/AttributeMetadata.php, line 44

Class

AttributeMetadata
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Mapping

Code

public function __construct($name) {
  $this->name = $name;
}