__construct() public method

public __construct ( boolean $randomId = false )
$randomId boolean
Esempio n. 1
0
 /**
  * InvoiceRow constructor.
  *
  * @param string $articleId
  * @param string $description
  * @param int    $quantity
  * @param float  $unitPrice
  * @param float  $vat
  */
 public function __construct($articleId, $description, $quantity, $unitPrice, $vat)
 {
     parent::__construct($articleId, $description, $quantity);
     $this->UnitPrice = $unitPrice;
     $this->VAT = $vat;
 }