Release 1.1.0
Changelog (since 1.0.0...1.1.0)
- Added a common interface of command queue and use it in Pull queues.
interface CommandQueue
{
public function publish(Command $command);
}Before:
$queue->push($command);After:
$queue->publish($command);Renamed namespaces
- The
GpsLab\Component\Command\Queue\PubSubrenamed toGpsLab\Component\Command\Queue\Subscribe. - The
GpsLab\Component\Command\Queue\PullPushrenamed toGpsLab\Component\Command\Queue\Pull. - The
GpsLab\Component\Tests\Command\Queue\PubSubrenamed toGpsLab\Component\Command\Queue\Subscribe. - The
GpsLab\Component\Tests\Command\Queue\PullPushrenamed toGpsLab\Component\Command\Queue\Pull.
Renamed interfaces
- The
GpsLab\Component\Command\Queue\PubSub\CommandQueuerenamed toGpsLab\Component\Command\Queue\Subscribe\SubscribeCommandQueue. - The
GpsLab\Component\Command\Queue\PullPush\CommandQueuerenamed toGpsLab\Component\Command\Queue\Pull\PullCommandQueue.
Renamed classes
- The
GpsLab\Component\Command\Queue\PubSub\ExecutingCommandQueuerenamed toGpsLab\Component\Command\Queue\Subscribe\ExecutingSubscribeCommandQueue. - The
GpsLab\Component\Command\Queue\PubSub\PredisCommandQueuerenamed toGpsLab\Component\Command\Queue\Subscribe\PredisSubscribeCommandQueue. - The
GpsLab\Component\Command\Queue\PullPush\MemoryCommandQueuerenamed toGpsLab\Component\Command\Queue\Pull\MemoryPullCommandQueue. - The
GpsLab\Component\Command\Queue\PullPush\MemoryUniqueCommandQueuerenamed toGpsLab\Component\Command\Queue\Pull\MemoryUniquePullCommandQueue. - The
GpsLab\Component\Command\Queue\PullPush\PredisCommandQueuerenamed toGpsLab\Component\Command\Queue\Pull\PredisPullCommandQueue. - The
GpsLab\Component\Command\Queue\PullPush\PredisUniqueCommandQueuerenamed toGpsLab\Component\Command\Queue\Pull\PredisUniquePullCommandQueue. - The
GpsLab\Component\Tests\Command\Queue\PubSub\ExecutingCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Subscribe\ExecutingSubscribeCommandQueueTest. - The
GpsLab\Component\Tests\Command\Queue\PubSub\PredisCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Subscribe\PredisSubscribeCommandQueueTest. - The
GpsLab\Component\Tests\Command\Queue\PullPush\MemoryCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Pull\MemoryPullCommandQueueTest. - The
GpsLab\Component\Tests\Command\Queue\PullPush\MemoryUniqueCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Pull\MemoryUniquePullCommandQueueTest. - The
GpsLab\Component\Tests\Command\Queue\PullPush\PredisCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Pull\PredisPullCommandQueueTest. - The
GpsLab\Component\Tests\Command\Queue\PullPush\PredisUniqueCommandQueueTestrenamed toGpsLab\Component\Command\Queue\Pull\PredisUniquePullCommandQueueTest.
Renamed methods
- The
GpsLab\Component\Command\Queue\PullPush\MemoryCommandQueue::push()renamed toGpsLab\Component\Command\Queue\Pull\MemoryPullCommandQueue::publish(). - The
GpsLab\Component\Command\Queue\PullPush\MemoryUniqueCommandQueue::push()renamed toGpsLab\Component\Command\Queue\Pull\MemoryUniquePullCommandQueue::publish(). - The
GpsLab\Component\Command\Queue\PullPush\PredisCommandQueue::push()renamed toGpsLab\Component\Command\Queue\Pull\PredisPullCommandQueue::publish(). - The
GpsLab\Component\Command\Queue\PullPush\PredisUniqueCommandQueue::push()renamed toGpsLab\Component\Command\Queue\Pull\PredisUniquePullCommandQueue::publish().