PHP Class TQ\Vcs\Buffer\ArrayBuffer

Inheritance: implements Iterator
Afficher le fichier Open project: teqneers/php-stream-wrapper-for-git Class Usage Examples

Protected Properties

Свойство Type Description
$array array The array

Méthodes publiques

Méthode 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 méthode

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

current() public méthode

Implements Iterator
public current ( ) : string
Résultat string

key() public méthode

Implements Iterator
public key ( ) : integer | boolean
Résultat integer | boolean False on failure

next() public méthode

Implements Iterator
public next ( )

rewind() public méthode

Implements Iterator
public rewind ( )

valid() public méthode

Implements Iterator
public valid ( ) : boolean
Résultat boolean

Property Details

$array protected_oe property

The array
protected array $array
Résultat array