PDepend\Source\AST\AbstractASTType::__wakeup PHP Method

__wakeup() public method

The magic wakeup method is called by the PHP runtime environment when a serialized instance of this class gets unserialized and all properties are restored. This implementation of the __wakeup() method sets a flag that this object was restored from the cache and it restores the dependency between this class or interface and it's child methods.
public __wakeup ( ) : void
return void
    public function __wakeup()
    {
        $this->methods = null;
    }