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

Loosen up the privacy.. #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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