| 1 | <?php |
||
| 10 | class DamageValueObject |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $min; |
||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | private $max; |
||
| 20 | /** |
||
| 21 | * @var int |
||
| 22 | */ |
||
| 23 | private $exactMin; |
||
| 24 | /** |
||
| 25 | * @var int |
||
| 26 | */ |
||
| 27 | private $exactMax; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * DamageValueObject constructor. |
||
| 31 | * @param int $min |
||
| 32 | * @param int $max |
||
| 33 | * @param int $exactMin |
||
| 34 | * @param int $exactMax |
||
| 35 | */ |
||
| 36 | public function __construct( |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return int |
||
| 50 | */ |
||
| 51 | public function getMin() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return int |
||
| 58 | */ |
||
| 59 | public function getMax() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return int |
||
| 66 | */ |
||
| 67 | public function getExactMin() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @return int |
||
| 74 | */ |
||
| 75 | public function getExactMax() |
||
| 79 | } |
||
| 80 |