Skip to content

Conversation

@nmacherey
Copy link

No description provided.

@nmacherey
Copy link
Author

Hum I only changes services definitions from the main stream... I suppose that style errors are coming from different commits

@acrobat
Copy link
Member

acrobat commented Jan 1, 2018

Hi @nmacherey, thanks for the PR! Can you please revert the style changes so we keep only the necessary changes.Thanks!

@nmacherey
Copy link
Author

nmacherey commented Jan 2, 2018

Done ! I also made public the queue factory... #71 as We really need to create queue and call the consumer service manually in out behat tests. Using the CommandRunner is also an option but I would rather use the service layer.


<services>
<service id="bernard.data_collector.message" class="Bernard\BernardBundle\Collector\ProducerCollector">
<service id="bernard.data_collector.message" class="Bernard\BernardBundle\Collector\ProducerCollector" public="true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this service need to be public?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact I don't know... I just took all services that where public using 3.3 and add the public tag...

<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="bernard.command.consume" class="Bernard\Command\ConsumeCommand">
<service id="bernard.command.consume" class="Bernard\Command\ConsumeCommand" public="true">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do the commands need to be public?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants