public function multiply(Fraction $fraction)
    {
        $numerator = $this->getNumerator() * $fraction->getNumerator();
        $denominator = $this->getDenominator() * $fraction->getDenominator();

        return new static($numerator, $denominator);
    }
public function multiply(Fraction $fraction)
    {
        $numerator = $this->getNumerator() * $fraction->getNumerator();
        $denominator = $this->getDenominator() * $fraction->getDenominator();

        return new static($numerator, $denominator);
    }
public function multiply ( Fraction $ fraction ) { $ numerator = $ this -> getNumerator ( ) * $ fraction -> getNumerator ( ) ; $ denominator = $ this -> getDenominator ( ) * $ fraction -> getDenominator ( ) ; return new static ( $ numerator , $ denominator ) ; }
Multiply this fraction by a given fraction

@author Tom Haskins-Vaughan <tom@tomhv.uk>
@since  0.1.0

@param Fraction $fraction

@return Fraction
Multiply this fraction by a given fraction