PHP 인터페이스 Tolerance\Operation\Buffer\OperationBuffer

파일 보기 프로젝트 열기: sroze/tolerance 0 사용 예제들

공개 메소드들

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