1 | <?php |
||
5 | class RequestState implements \Serializable |
||
6 | { |
||
7 | /** @var string */ |
||
8 | private $id; |
||
9 | |||
10 | /** @var string */ |
||
11 | private $destination; |
||
12 | |||
13 | |||
14 | /** |
||
15 | * @param string $destination |
||
16 | */ |
||
17 | public function setDestination($destination) |
||
21 | |||
22 | /** |
||
23 | * @return string |
||
24 | */ |
||
25 | public function getDestination() |
||
29 | |||
30 | /** |
||
31 | * @param string $id |
||
32 | */ |
||
33 | public function setId($id) |
||
37 | |||
38 | /** |
||
39 | * @return string |
||
40 | */ |
||
41 | public function getId() |
||
45 | |||
46 | |||
47 | /** |
||
48 | * (PHP 5 >= 5.1.0)<br/> |
||
49 | * String representation of object |
||
50 | * @link http://php.net/manual/en/serializable.serialize.php |
||
51 | * @return string the string representation of the object or null |
||
52 | */ |
||
53 | public function serialize() |
||
57 | |||
58 | /** |
||
59 | * (PHP 5 >= 5.1.0)<br/> |
||
60 | * Constructs the object |
||
61 | * @link http://php.net/manual/en/serializable.unserialize.php |
||
62 | * @param string $serialized <p> |
||
63 | * The string representation of the object. |
||
64 | * </p> |
||
65 | * @return void |
||
66 | */ |
||
67 | public function unserialize($serialized) |
||
71 | } |
||
72 |