public function ElementMetadata::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/ElementMetadata.php \Symfony\Component\Validator\Mapping\ElementMetadata::__construct()
2 methods override ElementMetadata::__construct()
- ClassMetadata::__construct in vendor/
symfony/ validator/ Mapping/ ClassMetadata.php - Constructs a metadata for the given class.
- MemberMetadata::__construct in vendor/
symfony/ validator/ Mapping/ MemberMetadata.php - Constructor.
File
- vendor/
symfony/ validator/ Mapping/ ElementMetadata.php, line 24
Class
- ElementMetadata
- Contains the metadata of a structural element.
Namespace
Symfony\Component\Validator\MappingCode
public function __construct() {
if (!$this instanceof MemberMetadata && !$this instanceof ClassMetadata) {
@trigger_error('The ' . __CLASS__ . ' class is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\\Component\\Validator\\Mapping\\GenericMetadata class instead.', E_USER_DEPRECATED);
}
}