public function ElementMetadata::__sleep

Returns the names of the properties that should be serialized.

Return value

array

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

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/ElementMetadata.php, line 33

Class

ElementMetadata

Namespace

Symfony\Component\Validator\Mapping

Code

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