PHP Интерфейс Tolerance\Operation\Buffer\OperationBuffer

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
add ( Tolerance\Operation\Operation $operation ) Add a new operation in the buffer.
current ( ) : Tolerance\Operation\Operation | null Returns the current operation at the head of the buffer.
pop ( ) : Tolerance\Operation\Operation Pop the operation from the head of the buffer.

Описание методов

add() публичный Метод

Add a new operation in the buffer.
public add ( Tolerance\Operation\Operation $operation )
$operation Tolerance\Operation\Operation

current() публичный Метод

Returns the current operation at the head of the buffer.
public current ( ) : Tolerance\Operation\Operation | null
Результат Tolerance\Operation\Operation | null

pop() публичный Метод

Pop the operation from the head of the buffer.
public pop ( ) : Tolerance\Operation\Operation
Результат Tolerance\Operation\Operation