src/Utility/LinkScanner.php
public function unserialize($serialized)
    {
        //Resets the event list and the Client instance
        $properties = unserialize($serialized);
        $this->getEventManager()->setEventList(new EventList);
        $this->Client = new Client($properties['Client']);
        unset($properties['Client']);

        foreach ($properties as $name => $value) {
            $this->$name = $value;
        }
    }
public function unserialize($serialized)
    {
        //Resets the event list and the Client instance
        $properties = unserialize($serialized);
        $this->getEventManager()->setEventList(new EventList);
        $this->Client = new Client($properties['Client']);
        unset($properties['Client']);

        foreach ($properties as $name => $value) {
            $this->$name = $value;
        }
    }
public function unserialize ( $ serialized ) { //Resets the event list and the Client instance $ properties = unserialize ( $ serialized ) ; $ this -> getEventManager ( ) -> setEventList ( new EventList ) ; $ this -> Client = new Client ( $ properties [ 'Client' ] ) ; unset ( $ properties [ 'Client' ] ) ; foreach ( $ properties as $ name => $ value ) { $ this -> $ name = $ value ; } }
Called during unserialization of the object
@param string $serialized The string representation of the object
@return void
@uses $Client
Called during unserialization of the object