Documentation

Diff
in package
implements IteratorAggregate

FinalYes
Tags
template-implements

IteratorAggregate<int, Chunk>

Table of Contents

Interfaces

IteratorAggregate

Properties

$chunks  : array<string|int, mixed>
$from  : string
$to  : string

Methods

__construct()  : mixed
chunks()  : array<string|int, mixed>
from()  : string
getChunks()  : array<string|int, mixed>
getFrom()  : string
getIterator()  : Traversable
getTo()  : string
setChunks()  : void
to()  : string

Properties

$chunks

private array<string|int, mixed> $chunks
Tags
psalm-var

list<Chunk>

$from

private string $from
Tags
psalm-var

non-empty-string

$to

private string $to
Tags
psalm-var

non-empty-string

Methods

__construct()

public __construct(string $from, string $to[, array<string|int, mixed> $chunks = [] ]) : mixed
Parameters
$from : string
$to : string
$chunks : array<string|int, mixed> = []
Tags
psalm-param

non-empty-string $from

psalm-param

non-empty-string $to

psalm-param

list<Chunk> $chunks

chunks()

public chunks() : array<string|int, mixed>
Tags
psalm-return

list<Chunk>

Return values
array<string|int, mixed>

from()

public from() : string
Tags
psalm-return

non-empty-string

Return values
string

getChunks()

public getChunks() : array<string|int, mixed>
Tags
psalm-return

list<Chunk>

deprecated
Return values
array<string|int, mixed>

getFrom()

public getFrom() : string
Tags
psalm-return

non-empty-string

deprecated
Return values
string

getIterator()

public getIterator() : Traversable
Return values
Traversable

getTo()

public getTo() : string
Tags
psalm-return

non-empty-string

deprecated
Return values
string

setChunks()

public setChunks(array<string|int, mixed> $chunks) : void
Parameters
$chunks : array<string|int, mixed>
Tags
psalm-param

list<Chunk> $chunks

to()

public to() : string
Tags
psalm-return

non-empty-string

Return values
string

        
On this page

Search results