Documentation

PaymentBatchList extends FinderListAbstract
in package
implements FinderListInterface

Tags

Interfaces, Classes, Traits and Enums

FinderListInterface

Table of Contents

$items  : array<string|int, mixed>
$total  : int
__construct()  : mixed
add()  : $this
Add a single item to the collection
combine()  : array<string|int, mixed>
Create an array with keys from one property value, values from another property value
filter()  : FinderListAbstract
Filter the list items according to $callback, and returns a new list instance
first()  : DomainObjectInterface|null
Retrieve the first item in the collection
getById()  : DomainObjectInterface
Get a single Domain object by ID search
getIterator()  : ArrayIterator
items()  : array<string|int, PaymentBatch>
last()  : DomainObjectInterface|null
Retrieve the last item in the collection
pluck()  : array<string|int, mixed>
Pluck all values of a particular property from a list
sort()  : FinderListAbstract
Sorts the list items according to $callback, and returns a new list instance
total()  : int

Properties

Methods

combine()

Create an array with keys from one property value, values from another property value

public combine(string $columnKey, string $valueKey) : array<string|int, mixed>
Parameters
$columnKey : string
$valueKey : string
Tags
Return values
array<string|int, mixed>

getIterator()

public getIterator() : ArrayIterator
Tags
codeCoverageIgnore
Return values
ArrayIterator

pluck()

Pluck all values of a particular property from a list

public pluck(string $property) : array<string|int, mixed>
Parameters
$property : string
Tags
Return values
array<string|int, mixed>

Search results