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
Показать файл Открыть проект

Открытые методы

Метод Описание
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.