Page MenuHomePhorge
Diviner Arcanist Tech Docs PhutilChunkedIterator

final class PhutilChunkedIterator
Arcanist Technical Documentation ()

This is an iterator version of array_chunk().

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()

This method is not documented.
Return
array

public function key()

This method is not documented.
Return
int

public function next()

This method is not documented.
Return
wild

public function rewind()

This method is not documented.
Return
wild

public function valid()

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function __construct($iterator, $size)

This method is not documented.
Parameters
Iterator$iterator
int$size
Return
this//Implicit.//