Doctrine\OXM\Mapping\ClassMetadata::__wakeup PHP Метод

__wakeup() публичный Метод

Restores some state that can not be serialized/unserialized.
public __wakeup ( ) : void
Результат void
    public function __wakeup()
    {
        // Restore ReflectionClass and properties
        $this->reflClass = new \ReflectionClass($this->name);
        foreach ($this->fieldMappings as $field => $mapping) {
            $reflField = $this->reflClass->getProperty($field);
            $reflField->setAccessible(true);
            $this->reflFields[$field] = $reflField;
        }
    }