src/Money.php
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);

        $this->amount = $unserialized['amount'];
        $this->currency = unserialize($unserialized['currency']);
    }
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);

        $this->amount = $unserialized['amount'];
        $this->currency = unserialize($unserialized['currency']);
    }
public function unserialize ( $ serialized ) { $ unserialized = unserialize ( $ serialized ) ; $ this -> amount = $ unserialized [ 'amount' ] ; $ this -> currency = unserialize ( $ unserialized [ 'currency' ] ) ; }
Unserializing Money value object

@param string $serialized
Unserializing Money value object