| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 58 | 2 | public function __construct( |
|
| 59 | $id, |
||
| 60 | ActionInterface $action, |
||
| 61 | TypeInterface $type, |
||
| 62 | TargetInterface $target, |
||
| 63 | QuantityInterface $usage, |
||
| 64 | Money $sum |
||
| 65 | ) { |
||
| 66 | 2 | $this->id = $id; |
|
| 67 | 2 | $this->action = $action; |
|
| 68 | 2 | $this->type = $type; |
|
| 69 | 2 | $this->target = $target; |
|
| 70 | 2 | $this->usage = $usage; |
|
| 71 | 2 | $this->sum = $sum; |
|
| 72 | 2 | } |
|
| 73 | |||
| 108 |