public function unserialize($data)
    {
        $connectionSettings = new ConnectionSettings( json_decode( $data, true ) );
        $this->__construct( $connectionSettings );
    }
public function unserialize($data)
    {
        $connectionSettings = new ConnectionSettings( json_decode( $data, true ) );
        $this->__construct( $connectionSettings );
    }
public function unserialize ( $ data ) { $ connectionSettings = new ConnectionSettings ( json_decode ( $ data , true ) ) ; $ this -> __construct ( $ connectionSettings ) ; }
Unserialize. Object.
@waring. Unserializing a resource will generate a new resource
Unserialize . Object .