Doctrine\Search\Mapping\ClassMetadata::__sleep PHP Method

__sleep() public method

It is only serialized what is necessary for best unserialization performance. Parts that are also NOT serialized because they can not be properly unserialized: - reflClass (ReflectionClass) - reflFields (ReflectionProperty array)
public __sleep ( ) : array
return array The names of all the fields that should be serialized.
    public function __sleep()
    {
        // This metadata is always serialized/cached.
        return array('boost', 'className', 'fieldMappings', 'parameters', 'index', 'numberOfReplicas', 'numberOfShards', 'parent', 'timeToLive', 'type', 'value', 'identifier', 'rootMappings');
    }