I am implementing a php class that must model this :
/** @Document */
classMember {
/** @String */
protected $fname;
/** @String */
protected $lname;
/** @String */
protected $email;
/** @Int */
protected $cell;
/** @String */
protected $password;
/** @Int */
protected $gender;
/** @Int */
protected $loc = array();
/** ????? */
protected $info;
}
I want info field to hold this structure in itself :
info Object
[
contact ["phoneNumber1" , "phoneNumber2"] ,
address ["USA, NY 8791 John St."] ,
email ["my@domain.com", "me@site.info"]
]
Should i implement another info.php class?If not,how can i implement this? Thanks for any help...