Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove previously deprecated code. #131

Merged
merged 1 commit into from
Jul 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/enqueue/Client/Producer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Enqueue\Util\JSON;
use Enqueue\Util\UUID;

class Producer implements ProducerInterface, ProducerV2Interface
class Producer implements ProducerInterface
{
/**
* @var DriverInterface
Expand Down
13 changes: 0 additions & 13 deletions pkg/enqueue/Client/ProducerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,4 @@ public function sendEvent($topic, $message);
* @return Promise|null the promise is returned if needReply argument is true
*/
public function sendCommand($command, $message, $needReply = false);

/**
* @deprecated use sendEvent method.
*
* Sends a message to a topic. There are some message processor may be subscribed to a topic.
*
* @param string $topic
* @param string|array|Message $message
*
* @throws \Enqueue\Psr\Exception - if the producer fails to send
* the message due to some internal error
*/
public function send($topic, $message);
}
12 changes: 0 additions & 12 deletions pkg/enqueue/Client/ProducerV2Interface.php

This file was deleted.

10 changes: 0 additions & 10 deletions pkg/enqueue/Symfony/TransportFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@ public function createConnectionFactory(ContainerBuilder $container, array $conf
*/
public function createContext(ContainerBuilder $container, array $config);

/**
* @deprecated since 0.5 will be removed in 0.6. The method will be moved to DriverFactoryInterface
*
* @param ContainerBuilder $container
* @param array $config
*
* @return string The method must return a driver service id
*/
public function createDriver(ContainerBuilder $container, array $config);

/**
* @return string
*/
Expand Down