Exemplo n.º 1
0
 public function __construct()
 {
     $this->rates = [$this->units[self::GRAVITATION] => '1'];
     $value = '0.0000000000667384';
     $unitComposition = new UnitComposition();
     $unit = self::GRAVITATION;
     parent::__construct($value, $unitComposition, $unit);
     $this->defineComposition(['length' => 3, 'mass' => -1, 'time' => -2]);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $this->rates = [$this->units[self::PLANCK] => '1'];
     $value = '0.000000000000000000000000000000000662606957';
     $unitComposition = new UnitComposition();
     $unit = self::PLANCK;
     parent::__construct($value, $unitComposition, $unit);
     $this->defineComposition(['length' => 2, 'mass' => 1, 'time' => -1]);
 }