Exemple #1
0
 /**
  * 
  * @param SIUnitCollection $siuc
  */
 public function __construct(SIUnitCollection $siuc)
 {
     $this->numerator = array($siuc->get(SIUnitCollection::KG), $siuc->get(SIUnitCollection::METRE));
     $this->denominator = array($siuc->get(SIUnitCollection::SECOND), $siuc->get(SIUnitCollection::SECOND));
 }
Exemple #2
0
 /**
  * 
  * @param SIUnitCollection $siuc
  */
 public function __construct(SIUnitCollection $siuc)
 {
     $this->numerator = array($siuc->get(SIUnitCollection::CANDELA));
     $this->denominator = array();
 }