CoolCMS API

ShipperCollectionTrait

Tags
template

Table of Contents

Properties

$shippers  : Collection<int, TShipper>

Methods

addShipper()  : $this
clearShippers()  : $this
getShippers()  : Collection<int, TShipper>
removeShipper()  : $this
setShippers()  : $this
shipperCollectionInit()  : void

Properties

Methods

addShipper()

public addShipper(TShipper $shipper) : $this
Parameters
$shipper : TShipper
Return values
$this

getShippers()

public getShippers() : Collection<int, TShipper>
Return values
Collection<int, TShipper>

removeShipper()

public removeShipper(TShipper $shipper) : $this
Parameters
$shipper : TShipper
Return values
$this

setShippers()

public setShippers(Collection<int, TShipper>|array<int, TShipper> $shippers) : $this
Parameters
$shippers : Collection<int, TShipper>|array<int, TShipper>
Return values
$this
On this page

Search results