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