class Resultset extends Simple

Methods

array
splat($val)

Flattens a result set You can also pass a key/value in the form of key:value

$content->versions->splat('uuid');
$assignment->users->splat('uuid:email');

array
map(callable $callback)

Apply a callback to each member of the resultset

Collection
toCollection()

Return this resultset as a CEO Collection

Details

at line 19
array splat($val)

Flattens a result set You can also pass a key/value in the form of key:value

$content->versions->splat('uuid');
$assignment->users->splat('uuid:email');

Parameters

$val

Return Value

array

at line 55
array map(callable $callback)

Apply a callback to each member of the resultset

Parameters

callable $callback

Return Value

array

at line 73
Collection toCollection()

Return this resultset as a CEO Collection

Return Value

Collection