PHP Class Kraken\Util\Buffer\Buffer

Inheritance: implements Kraken\Util\Buffer\BufferInterface
Afficher le fichier Open project: kraken-php/framework Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $data = '' )
__destruct ( )
__toString ( )
count ( )
drain ( )
getIterator ( )
insert ( $string, $position )
isEmpty ( )
length ( )
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $data )
offsetUnset ( $index )
peek ( $length, $offset )
pop ( $length )
push ( $data )
remove ( $length, $offset )
replace ( $search, $replace )
search ( $string, $reverse = false )
shift ( $length )
unshift ( $data )

Method Details

__construct() public méthode

public __construct ( string $data = '' )
$data string

__destruct() public méthode

public __destruct ( )

__toString() public méthode

public __toString ( )

count() public méthode

public count ( )

drain() public méthode

public drain ( )

getIterator() public méthode

public getIterator ( )

insert() public méthode

public insert ( $string, $position )

isEmpty() public méthode

public isEmpty ( )

length() public méthode

public length ( )

offsetExists() public méthode

public offsetExists ( $index )

offsetGet() public méthode

public offsetGet ( $index )

offsetSet() public méthode

public offsetSet ( $index, $data )

offsetUnset() public méthode

public offsetUnset ( $index )

peek() public méthode

public peek ( $length, $offset )

pop() public méthode

public pop ( $length )

push() public méthode

public push ( $data )

remove() public méthode

public remove ( $length, $offset )

replace() public méthode

public replace ( $search, $replace )

shift() public méthode

public shift ( $length )

unshift() public méthode

public unshift ( $data )