Opis\Closure\SerializableClosure::unserializePHP53 PHP Метод

unserializePHP53() защищенный Метод

Internal method used to unserialize closures in PHP 5.3
protected unserializePHP53 ( &$data )
    protected function unserializePHP53(&$data)
    {
        if (!static::$unserializations++) {
            static::$deserialized = array();
        }
        $this->code = unserialize($data);
        if (isset(static::$deserialized[$this->code['self']->hash])) {
            $this->closure = static::$deserialized[$this->code['self']->hash];
            goto setcode;
        }
        static::$deserialized[$this->code['self']->hash] = null;
        if ($this->code['use']) {
            $this->code['use'] = array_map(array($this, 'mapPointers'), $this->code['use']);
            extract($this->code['use'], EXTR_OVERWRITE | EXTR_REFS);
        }
        $this->closure = (include ClosureStream::STREAM_PROTO . '://' . $this->code['function']);
        static::$deserialized[$this->code['self']->hash] = $this->closure;
        setcode:
        $this->code = $this->code['function'];
        if (!--static::$unserializations) {
            static::$deserialized = null;
        }
    }