FileCollection
implements
ItemCollection, Iterator, Countable
Table of Contents
Interfaces
- ItemCollection
- Iterator
- Countable
Methods
-
__construct()
: mixed
-
addItem()
: self
-
count()
: int
-
current()
: File|null
-
first()
: File|null
-
getIds()
: array<int, int>
-
key()
: int
-
next()
: void
-
rewind()
: void
-
shift()
: File|null
-
toArray()
: array<string|int, T>
-
valid()
: bool
__construct()
public
__construct(File ...$items) : mixed
Parameters
-
$items
: File
-
addItem()
public
addItem(File $item) : self
Parameters
-
$item
: File
-
count()
public
count() : int
current()
public
current() : File|null
first()
public
first() : File|null
getIds()
public
getIds() : array<int, int>
Return values
array<int, int>
key()
public
key() : int
next()
public
next() : void
rewind()
public
rewind() : void
shift()
public
shift() : File|null
toArray()
public
toArray() : array<string|int, T>
Return values
array<string|int, T>
valid()
public
valid() : bool