src/LightSaml/State/Request/RequestState.php
public function serialize()
    {
        $nonce = $this->getNonce();

        return serialize(array($this->id, $nonce, $this->parameters->serialize()));
    }
public function serialize()
    {
        $nonce = $this->getNonce();

        return serialize(array($this->id, $nonce, $this->parameters->serialize()));
    }
(PHP 5 &gt;= 5.1.0)<br/>
String representation of object.

@see http://php.net/manual/en/serializable.serialize.php

@return string the string representation of the object or null