phpDocumentor

ReservedQuantity extends AbstractValidatableObject
in package
implements QuantityInterface

Interfaces, Classes and Traits

QuantityInterface

Table of Contents

$exception  : Exception|null
$exceptionList  : mixed
$quantities  : array<string|int, ModifierQuantityInterface>
$sum  : array<string|int, mixed>
addReserve()  : void
byModifier()  : ModifierQuantityInterface|null
byModifiers()  : float
exception()  : Exception|null
exceptions()  : array<string|int, Exception>
hasException()  : bool
measureUnit()  : string
stackException()  : void
value()  : float
calculateTotals()  : void
flattenExceptionBacktrace()  : void
indexNameForIdList()  : string
totals()  : array<string|int, mixed>

Properties

Methods

exceptions()

public exceptions([null $exceptionClass = null ]) : array<string|int, Exception>
Parameters
$exceptionClass : null = null
Return values
array<string|int, Exception>

hasException()

public hasException(string $exceptionName) : bool
Parameters
$exceptionName : string
Return values
bool

measureUnit()

public measureUnit() : string
Tags
inheritDoc
Return values
string

stackException()

public stackException(Exception $exception) : void
Parameters
$exception : Exception
Return values
void

calculateTotals()

protected calculateTotals() : void
Return values
void

flattenExceptionBacktrace()

protected flattenExceptionBacktrace(Exception $exception) : void
Parameters
$exception : Exception
Return values
void

totals()

protected totals() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results