PHP 클래스 VCR\Storage\Json

This storage can be iterated while keeping the memory consumption to the amount of memory used by the largest record.
상속: extends AbstractStorage
파일 보기 프로젝트 열기: php-vcr/php-vcr

공개 메소드들

메소드 설명
next ( ) : void Parses the next record.
rewind ( ) : void Resets the storage to the beginning.
storeRecording ( array $recording )
valid ( ) : boolean Returns true if the current record is valid.

보호된 메소드들

메소드 설명
readNextRecord ( ) : string Returns the next record in raw format.

메소드 상세

next() 공개 메소드

Parses the next record.
public next ( ) : void
리턴 void

readNextRecord() 보호된 메소드

Returns the next record in raw format.
protected readNextRecord ( ) : string
리턴 string Next record in raw format.

rewind() 공개 메소드

Resets the storage to the beginning.
public rewind ( ) : void
리턴 void

storeRecording() 공개 메소드

public storeRecording ( array $recording )
$recording array

valid() 공개 메소드

Returns true if the current record is valid.
public valid ( ) : boolean
리턴 boolean True if the current record is valid.