/** * Take an instance of any unit and attempt to multiply. This will pass responsibility to the UnitComposition class * so that it can attempt to figure out what the resulting units should be. * * @param Quantity $quantity * @return Quantity */ public function multiplyBy(Quantity $quantity) { return $this->unitCompClass->naiveMultiply($this, $quantity); }