You are here

public function FractionInterface::add in Fraction 8

Same name and namespace in other branches
  1. 2.x 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 136

Class

FractionInterface
Defines the interface for Fraction class.

Namespace

Drupal\fraction

Code

public function add(Fraction $fraction);