phpDocumentor

ScopedQuantity extends AbstractQuantity
in package
implements ScopedQuantityInterface, ExceptionStacker

Interfaces, Classes and Traits

ScopedQuantityInterface
ExceptionStacker

Table of Contents

$exception  : Exception|null
$exceptionList  : mixed
$quantity  : float
$scope  : array<string|int, SellingUnitInterface>
$measureUnit  : string
__construct()  : mixed
ScopedQuantity constructor.
exception()  : Exception|null
exceptions()  : array<string|int, Exception>
hasException()  : bool
measureUnit()  : string
scope()  : ReserveScopeInterface
stackException()  : void
value()  : float
flattenExceptionBacktrace()  : void

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

stackException()

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

flattenExceptionBacktrace()

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

Search results