Documentation

CollectsResources

Table of Contents

getIterator()  : ArrayIterator
Get an iterator for the resource collection.
collectResource()  : mixed
Map the given collection resource into its individual resources.
collects()  : string|null
Get the resource that this resource collects.

Methods

getIterator()

Get an iterator for the resource collection.

public getIterator() : ArrayIterator
Return values
ArrayIterator

collectResource()

Map the given collection resource into its individual resources.

protected collectResource(mixed $resource) : mixed
Parameters
$resource : mixed
Return values
mixed

collects()

Get the resource that this resource collects.

protected collects() : string|null
Return values
string|null

Search results