Fraction
extends AbstractElement
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- getDenominator() : AbstractElement
- getNumerator() : AbstractElement
- setDenominator() : self
- setNumerator() : self
Properties
$denominator
protected
AbstractElement
$denominator
$numerator
protected
AbstractElement
$numerator
Methods
__construct()
public
__construct(AbstractElement $numerator, AbstractElement $denominator) : mixed
Parameters
- $numerator : AbstractElement
- $denominator : AbstractElement
getDenominator()
public
getDenominator() : AbstractElement
Return values
AbstractElementgetNumerator()
public
getNumerator() : AbstractElement
Return values
AbstractElementsetDenominator()
public
setDenominator(AbstractElement $element) : self
Parameters
- $element : AbstractElement
Return values
selfsetNumerator()
public
setNumerator(AbstractElement $element) : self
Parameters
- $element : AbstractElement