MemberDocumentResourceCollection extends ResourceCollection
FinalYes
Table of Contents
Methods
- __construct() : mixed
- add() : static
- count() : int
- current() : ResourceContract
- fromItemCollection() : self
- getIterator() : Iterator<int, ResourceContract>
- key() : int
- next() : void
- rewind() : void
- toArray() : array<string|int, mixed>
- valid() : bool
Methods
__construct()
public
__construct(ResourceContract ...$items) : mixed
Parameters
- $items : ResourceContract
add()
public
add(ResourceContract $resource) : static
Parameters
- $resource : ResourceContract
Return values
staticcount()
public
count() : int
Return values
intcurrent()
public
current() : ResourceContract
Return values
ResourceContractfromItemCollection()
public
static fromItemCollection(ItemCollection $collection) : self
Parameters
- $collection : ItemCollection
Return values
selfgetIterator()
public
getIterator() : Iterator<int, ResourceContract>
Return values
Iterator<int, ResourceContract>key()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>valid()
public
valid() : bool