public function __construct($id = NULL, $address = [], $postal = [])
 {
     parent::__construct();
     if ($id) {
         $this->id = $id;
     }
     $this->address = $address;
     $this->postal = $postal;
 }
Esempio n. 2
0
 public function __construct($id = NULL, array $number = [], array $types = [])
 {
     parent::__construct();
     if ($id) {
         $this->id = $id;
     }
     $this->number = $number;
     $this->types = $types;
 }
Esempio n. 3
0
 public function __construct($lastInsertId = '')
 {
     parent::__construct();
     $this->productId = $lastInsertId;
     $this->path = Path::IMG_UPLOAD_DIR . $this->productId . '/';
 }
Esempio n. 4
0
 public function __construct($login = '', $password = '')
 {
     parent::__construct();
     $this->login = $login;
     $this->password = $password;
 }