/**
  * @param float $value
  */
 public function __construct($value)
 {
     if (!is_float($value)) {
         throw new Exception\UnexpectedValueTypeException($value, 'float');
     }
     parent::__construct($value);
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct(null);
 }