PHP Class TQ\Vcs\Buffer\ArrayBuffer

Inheritance: implements Iterator
Datei anzeigen Open project: teqneers/php-stream-wrapper-for-git Class Usage Examples

Protected Properties

Property Type Description
$array array The array

Public Methods

Method Description
__construct ( array $array ) Creates an array buffer from an array
current ( ) : string Implements Iterator
key ( ) : integer | boolean Implements Iterator
next ( ) Implements Iterator
rewind ( ) Implements Iterator
valid ( ) : boolean Implements Iterator

Method Details

__construct() public method

Creates an array buffer from an array
public __construct ( array $array )
$array array The array

current() public method

Implements Iterator
public current ( ) : string
return string

key() public method

Implements Iterator
public key ( ) : integer | boolean
return integer | boolean False on failure

next() public method

Implements Iterator
public next ( )

rewind() public method

Implements Iterator
public rewind ( )

valid() public method

Implements Iterator
public valid ( ) : boolean
return boolean

Property Details

$array protected_oe property

The array
protected array $array
return array