public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $data = array_merge($data, array_fill(0, 2, null));

        list(
            $this->password,
            $this->username,
            $this->id
        ) = $data;
    }
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $data = array_merge($data, array_fill(0, 2, null));

        list(
            $this->password,
            $this->username,
            $this->id
        ) = $data;
    }
public function unserialize ( $ serialized ) { $ data = unserialize ( $ serialized ) ; $ data = array_merge ( $ data , array_fill ( 0 , 2 , null ) ) ; list ( $ this -> password , $ this -> username , $ this -> id ) = $ data ; }
Unserializes the user.

@param string $serialized
Unserializes the user .