Method |
Description |
|
__construct ( MenaraSolutions\Geographer\Contracts\ManagerInterface $config, array $divisions = [] ) |
MemberCollection constructor. |
|
add ( $division, string | integer $key ) |
|
|
filter ( callable $callback = null ) : static |
Run a filter over each of the items. |
|
find ( array $params = [] ) : MemberCollection |
|
|
findOne ( array $params = [] ) : Divisible | boolean |
|
|
first ( ) : mixed |
|
|
get ( $key ) : mixed |
|
|
sortBy ( string $field, integer $options = SORT_REGULAR, boolean $descending = false ) : static |
Sort the collection |
|
toArray ( ) : array |
|
|