Skip to content
Open
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
10 changes: 5 additions & 5 deletions Event/Queue/AmqpMessageQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ class AmqpMessageQueue implements MessageQueueInterface
/**
* @var boolean batchPublishing
*/
private $batchPublishing;
protected $batchPublishing;

/**
* Make sure to initialize before we post our first message.
* @var bool initialized
*/
private $initialized = false;
protected $initialized = false;

/**
* @var array config
*/
private $config;
protected $config;

/**
* @param array $config
Expand All @@ -69,7 +69,7 @@ public function __construct(array $config)
/**
* Clean up after us
*/
function __destruct()
public function __destruct()
{
if (!$this->initialized) {
return;
Expand Down Expand Up @@ -114,7 +114,7 @@ public function addMessage(QueueMessage $message, $delay = 0)
* Create queue objects and init the class
* @param array $config
*/
private function init()
protected function init()
{
if ($this->initialized) {
return;
Expand Down