phpDocumentor

OrderInfoQuantity extends AbstractQuantity implements IncludeReservedOnQuantityInterface

Class OrderInfoQuantity

Interfaces, Classes and Traits

IncludeReservedOnQuantityInterface
Interface IncludeReservedOnQuantityInterface

Table of Contents

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

Properties

Methods

__construct()

Quantity constructor.

public __construct(float $quantity[, string $measureUnit = '' ]) : mixed
Parameters
$quantity : float
$measureUnit : string = ''
Return values
mixed

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