You are here

public function MemberMetadata::__construct in Plug 7

Constructor.

Parameters

string $class The name of the class this member is defined on:

string $name The name of the member:

string $property The property the member belongs to:

2 calls to MemberMetadata::__construct()
GetterMetadata::__construct in lib/Symfony/validator/Symfony/Component/Validator/Mapping/GetterMetadata.php
Constructor.
PropertyMetadata::__construct in lib/Symfony/validator/Symfony/Component/Validator/Mapping/PropertyMetadata.php
Constructor.
2 methods override MemberMetadata::__construct()
GetterMetadata::__construct in lib/Symfony/validator/Symfony/Component/Validator/Mapping/GetterMetadata.php
Constructor.
PropertyMetadata::__construct in lib/Symfony/validator/Symfony/Component/Validator/Mapping/PropertyMetadata.php
Constructor.

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/MemberMetadata.php, line 71

Class

MemberMetadata
Stores all metadata needed for validating a class property.

Namespace

Symfony\Component\Validator\Mapping

Code

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