Copied!

PriceEnvelopeInterface

PriceEnvelopeInterface.php : 14
Tags
Experimental

Methods

publicall()

PriceEnvelopeInterface.php : 51
public all([TStamp>|null $stampFqcn = null ]) : array<string|int, PriceStampInterface>|array<string|int, array<string|int, PriceStampInterface>>

Parameters

Name Type Default value Description
$stampFqcn TStamp>|null null -

Return values

array<string|int, PriceStampInterface>|array<string|int, array<string|int, PriceStampInterface>>

The stamps for the specified FQCN, or all stamps by their class name

publiclast()

PriceEnvelopeInterface.php : 42
public last(TStamp> $stampFqcn) : PriceStampInterface|null

Parameters

Name Type Default value Description
$stampFqcn TStamp> - -

Return values

PriceStampInterface|null

publicwith()

PriceEnvelopeInterface.php : 21

Adds one or more stamps.

public with(PriceStampInterface ...$stamps) : static

Parameters

Name Type Default value Description
$stamps PriceStampInterface - -

Return values

static

publicwithoutAll()

PriceEnvelopeInterface.php : 28

Removes all stamps of the given class.

public withoutAll(string $stampFqcn) : static

Parameters

Name Type Default value Description
$stampFqcn string - -

Return values

static

publicwithoutStampsOfType()

PriceEnvelopeInterface.php : 35

Removes all stamps that implement the given type.

public withoutStampsOfType(string $type) : static

Parameters

Name Type Default value Description
$type string - -

Return values

static