| 1 | <?php  | 
            ||
| 8 | class AspectRatio  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var float  | 
            ||
| 12 | */  | 
            ||
| 13 | private $value;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @var string  | 
            ||
| 17 | */  | 
            ||
| 18 | private $label;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @var bool  | 
            ||
| 22 | */  | 
            ||
| 23 | private $checked = false;  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @param float $value  | 
            ||
| 27 | * @param string $label  | 
            ||
| 28 | * @param bool $checked  | 
            ||
| 29 | */  | 
            ||
| 30 | public function __construct($value, $label, $checked = false)  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @return float  | 
            ||
| 39 | */  | 
            ||
| 40 | public function getValue()  | 
            ||
| 44 | |||
| 45 | /**  | 
            ||
| 46 | * @return string  | 
            ||
| 47 | */  | 
            ||
| 48 | public function getLabel()  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * @return bool  | 
            ||
| 55 | */  | 
            ||
| 56 | public function isChecked()  | 
            ||
| 60 | }  | 
            ||
| 61 |