| 1 | <?php |
||
| 13 | class Dice extends BaseType implements TypeInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritdoc} |
||
| 17 | * |
||
| 18 | * @var array |
||
| 19 | */ |
||
| 20 | static protected $requiredParams = ['value']; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | static protected $map = ['value']; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Value of the dice, 1-6 |
||
| 31 | * |
||
| 32 | * @var int |
||
| 33 | */ |
||
| 34 | protected $value; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return int |
||
| 38 | */ |
||
| 39 | public function getValue() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @param int $value |
||
| 46 | */ |
||
| 47 | public function setValue($value) |
||
| 51 | } |