Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GenericMetadata.php

function GenericMetadata::__sleep

Returns the names of the properties that should be serialized.

Return value

string[]

4 calls to GenericMetadata::__sleep()
ClassMetadata::__sleep in vendor/symfony/validator/Mapping/ClassMetadata.php
Returns the names of the properties that should be serialized.
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.
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 91

Class

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

Namespace

Symfony\Component\Validator\Mapping

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal