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