PHP Interface Tolerance\Operation\Buffer\OperationBuffer

Afficher le fichier Open project: sroze/tolerance Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

add() public méthode

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

current() public méthode

Returns the current operation at the head of the buffer.
public current ( ) : Tolerance\Operation\Operation | null
Résultat Tolerance\Operation\Operation | null

pop() public méthode

Pop the operation from the head of the buffer.
public pop ( ) : Tolerance\Operation\Operation
Résultat Tolerance\Operation\Operation