class ShippingModifiers (View source)

Properties

protected $modifiers

The collection of modifiers to use.

Methods

__construct()

Initialise the class.

Collection
getModifiers()

Return the shipping modifiers.

void
add($modifier)

Add a shipping modifier.

void
remove($modifier)

Remove a shipping modifier.

Details

__construct()

Initialise the class.

Collection getModifiers()

Return the shipping modifiers.

Return Value

Collection

void add($modifier)

Add a shipping modifier.

Parameters

$modifier

Class reference to the modifier.

Return Value

void

void remove($modifier)

Remove a shipping modifier.

Parameters

$modifier

Class reference to the modifier.

Return Value

void