| 1 | <?php | ||
| 7 | class Rate implements AttributeInterface | ||
| 8 | { | ||
| 9 | use DumpTrait; | ||
| 10 | |||
| 11 | /** | ||
| 12 | * @var int | ||
| 13 | */ | ||
| 14 | private $absoluteValue; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @var string | ||
| 18 | */ | ||
| 19 | private $textValue; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @param $absoluteValue | ||
| 23 | * @param $textValue | ||
| 24 | */ | ||
| 25 | 4 | public function __construct($absoluteValue, $textValue) | |
| 30 | |||
| 31 | /** | ||
| 32 | * @return int | ||
| 33 | */ | ||
| 34 | 1 | public function getAbsoluteValue() | |
| 38 | |||
| 39 | /** | ||
| 40 | * @return string | ||
| 41 | */ | ||
| 42 | 1 | public function getTextValue() | |
| 46 | |||
| 47 | /** | ||
| 48 | * @return string | ||
| 49 | */ | ||
| 50 | 1 | public function __toString() | |
| 54 | } | ||
| 55 |