You are here

public function GenericMetadata::__sleep in Plug 7

Returns the names of the properties that should be serialized.

Return value

string[]

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

File

lib/Symfony/validator/Symfony/Component/Validator/Mapping/GenericMetadata.php, line 84

Class

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

Namespace

Symfony\Component\Validator\Mapping

Code

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