public function FractionInterface::subtract in Fraction 8
Same name and namespace in other branches
- 2.x src/FractionInterface.php \Drupal\fraction\FractionInterface::subtract()
Subtracts another fraction from this one.
Parameters
Fraction $fraction: Another fraction object to subtract this one.
Return value
Fraction Returns this Fraction object.
1 method overrides FractionInterface::subtract()
- Fraction::subtract in src/
Fraction.php - Subtracts another fraction from this one.
File
- src/
FractionInterface.php, line 147
Class
- FractionInterface
- Defines the interface for Fraction class.
Namespace
Drupal\fractionCode
public function subtract(Fraction $fraction);