You are here

public function GenericMetadata::__sleep in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/GenericMetadata.php \Symfony\Component\Validator\Mapping\GenericMetadata::__sleep()

Returns the names of the properties that should be serialized.

Return value

string[]

2 calls to GenericMetadata::__sleep()
ClassMetadata::__sleep in vendor/symfony/validator/Mapping/ClassMetadata.php
Returns the names of the properties that should be serialized.
MemberMetadata::__sleep in vendor/symfony/validator/Mapping/MemberMetadata.php
Returns the names of the properties that should be serialized.
2 methods override GenericMetadata::__sleep()
ClassMetadata::__sleep in vendor/symfony/validator/Mapping/ClassMetadata.php
Returns the names of the properties that should be serialized.
MemberMetadata::__sleep in vendor/symfony/validator/Mapping/MemberMetadata.php
Returns the names of the properties that should be serialized.

File

vendor/symfony/validator/Mapping/GenericMetadata.php, line 85

Class

GenericMetadata
A generic container of {@link Constraint} objects.

Namespace

Symfony\Component\Validator\Mapping

Code

public function __sleep() {
  return array(
    'constraints',
    'constraintsByGroup',
    'cascadingStrategy',
    'traversalStrategy',
  );
}