ShippingMethods
in package
implements
IteratorAggregate
Class ShippingMethods
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $shippingMethods : array<string|int, mixed>
- create() : ShippingMethods
- getIterator() : Traversable|array<string|int, ShippingMethod>
- toArray() : array<string|int, mixed>
- __construct() : mixed
- ShippingMethods constructor.
Properties
$shippingMethods
private
array<string|int, mixed>
$shippingMethods
Methods
create()
public
static create(ShippingMethod ...$shippingMethod) : ShippingMethods
Parameters
- $shippingMethod : ShippingMethod
Return values
ShippingMethods —getIterator()
public
getIterator() : Traversable|array<string|int, ShippingMethod>
Return values
Traversable|array<string|int, ShippingMethod> —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —__construct()
ShippingMethods constructor.
private
__construct(array<string|int, ShippingMethod> $shippingMethods) : mixed
Parameters
- $shippingMethods : array<string|int, ShippingMethod>