| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 45 | 8 | public function __construct( |
|
| 46 | $title, |
||
| 47 | $price = 0, |
||
| 48 | $subtitle = null, |
||
| 49 | $quantity = null, |
||
| 50 | $currency = null, |
||
| 51 | $imageUrl = null |
||
| 52 | ) { |
||
| 53 | |||
| 54 | 8 | $this->currency = $currency; |
|
| 55 | 8 | $this->imageUrl = $imageUrl; |
|
| 56 | 8 | $this->price = $price; |
|
| 57 | 8 | $this->quantity = $quantity; |
|
| 58 | 8 | $this->subtitle = $subtitle; |
|
| 59 | 8 | $this->title = $title; |
|
| 60 | 8 | } |
|
| 61 | |||
| 125 |