public function FractionInterface::setDenominator in Fraction 2.x
Same name and namespace in other branches
- 8 src/FractionInterface.php \Drupal\fraction\FractionInterface::setDenominator()
Sets the denominator.
Parameters
string|int $denominator: The denominator value.
Return value
Fraction Returns this Fraction object.
1 method overrides FractionInterface::setDenominator()
- Fraction::setDenominator in src/
Fraction.php - Sets the denominator.
File
- src/
FractionInterface.php, line 32
Class
- FractionInterface
- Defines the interface for Fraction class.
Namespace
Drupal\fractionCode
public function setDenominator($denominator);