src/Utility/LinkScanner.php
public function serialize()
    {
        //Unsets the event class and event manager. For the `Client` instance,
        //  it takes only configuration and cookies
        $properties = get_object_vars($this);
        unset($properties['_eventClass'], $properties['_eventManager']);
        $properties['Client'] = $this->Client->getConfig() + ['cookieJar' => $this->Client->cookies()];

        return serialize($properties);
    }
public function serialize()
    {
        //Unsets the event class and event manager. For the `Client` instance,
        //  it takes only configuration and cookies
        $properties = get_object_vars($this);
        unset($properties['_eventClass'], $properties['_eventManager']);
        $properties['Client'] = $this->Client->getConfig() + ['cookieJar' => $this->Client->cookies()];

        return serialize($properties);
    }
public function serialize ( ) { //Unsets the event class and event manager. For the `Client` instance, //  it takes only configuration and cookies $ properties = get_object_vars ( $ this ) ; unset ( $ properties [ '_eventClass' ] , $ properties [ '_eventManager' ] ) ; $ properties [ 'Client' ] = $ this -> Client -> getConfig ( ) + [ 'cookieJar' => $ this -> Client -> cookies ( ) ] ; return serialize ( $ properties ) ; }
Returns the string representation of the object
@return string
@uses $Client
Returns the string representation of the object