You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Getting started with the array queue adapter (testing purposes)
receive operations grab messages from an internal array and remove from the list
delete do nothing (it is just a simple stub)
The adapter works as expected
$adapter = newCorley\Queue\ArrayAdapter\ArrayAdapter();
$queue = newCorley\Queue\Queue("testing_queue", $adapter);
$queue->send("test");
list($receipt, $message) = $queue->receive(); // the message is popped out// useless the message is already removed but we have to maintain the application flow for real queue adapters$queue->delete($receipt);
Compose with Dependency Injection (Symfony example)