for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AerialShip\SamlSPBundle\State\Request;
class RequestState implements \Serializable
{
/** @var string */
private $id;
private $destination;
/**
* @param string $destination
*/
public function setDestination($destination)
$this->destination = $destination;
}
* @return string
public function getDestination()
return $this->destination;
* @param string $id
public function setId($id)
$this->id = $id;
public function getId()
return $this->id;
* (PHP 5 >= 5.1.0)<br/>
* String representation of object
* @link http://php.net/manual/en/serializable.serialize.php
* @return string the string representation of the object or null
public function serialize()
return serialize(array($this->id, $this->destination));
* Constructs the object
* @link http://php.net/manual/en/serializable.unserialize.php
* @param string $serialized <p>
* The string representation of the object.
* </p>
* @return void
public function unserialize($serialized)
list($this->id, $this->destination) = unserialize($serialized);