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