PHP 클래스 Kraken\Util\Buffer\Buffer

상속: implements Kraken\Util\Buffer\BufferInterface
파일 보기 프로젝트 열기: kraken-php/framework 1 사용 예제들

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

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

__destruct() 공개 메소드

public __destruct ( )

__toString() 공개 메소드

public __toString ( )

count() 공개 메소드

public count ( )

drain() 공개 메소드

public drain ( )

getIterator() 공개 메소드

public getIterator ( )

insert() 공개 메소드

public insert ( $string, $position )

isEmpty() 공개 메소드

public isEmpty ( )

length() 공개 메소드

public length ( )

offsetExists() 공개 메소드

public offsetExists ( $index )

offsetGet() 공개 메소드

public offsetGet ( $index )

offsetSet() 공개 메소드

public offsetSet ( $index, $data )

offsetUnset() 공개 메소드

public offsetUnset ( $index )

peek() 공개 메소드

public peek ( $length, $offset )

pop() 공개 메소드

public pop ( $length )

push() 공개 메소드

public push ( $data )

remove() 공개 메소드

public remove ( $length, $offset )

replace() 공개 메소드

public replace ( $search, $replace )

shift() 공개 메소드

public shift ( $length )

unshift() 공개 메소드

public unshift ( $data )