CoolCMS API

BankAccountCollectionTrait

Tags
template

Table of Contents

Properties

$bankAccounts  : Collection<int, TBankAccount>

Methods

addBankAccount()  : $this
bankAccountCollectionInit()  : void
clearBankAccounts()  : $this
getBankAccount()  : TBankAccount|null
getBankAccounts()  : Collection<int, TBankAccount>
removeBankAccount()  : $this
setBankAccounts()  : $this

Properties

Methods

addBankAccount()

public addBankAccount(TBankAccount $bankAccount) : $this
Parameters
$bankAccount : TBankAccount
Return values
$this

getBankAccount()

public getBankAccount(int $bankAccountId) : TBankAccount|null
Parameters
$bankAccountId : int
Return values
TBankAccount|null

getBankAccounts()

public getBankAccounts() : Collection<int, TBankAccount>
Return values
Collection<int, TBankAccount>

removeBankAccount()

public removeBankAccount(TBankAccount $bankAccount) : $this
Parameters
$bankAccount : TBankAccount
Return values
$this

setBankAccounts()

public setBankAccounts(Collection<int, TBankAccount>|array<int, TBankAccount> $bankAccounts) : $this
Parameters
$bankAccounts : Collection<int, TBankAccount>|array<int, TBankAccount>
Return values
$this
On this page

Search results