mirror of
https://github.com/predis/predis.git
synced 2026-10-17 01:06:20 +00:00
20 lines
368 B
PHP
20 lines
368 B
PHP
<?php
|
|
|
|
namespace Predis\Pipeline;
|
|
|
|
use Predis\Network\IConnection;
|
|
|
|
class FireAndForgetExecutor implements IPipelineExecutor
|
|
{
|
|
public function execute(IConnection $connection, &$commands)
|
|
{
|
|
foreach ($commands as $command) {
|
|
$connection->writeCommand($command);
|
|
}
|
|
|
|
$connection->disconnect();
|
|
|
|
return array();
|
|
}
|
|
}
|