Skip to content

Commit

Permalink
Merge pull request KnpLabs#462 from KnpLabs/fix/deprecation-warning
Browse files Browse the repository at this point in the history
mark knp_paginator service as public
  • Loading branch information
nicolasmure authored Dec 1, 2017
2 parents a26a501 + a267380 commit 754129b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/config/paginator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
</parameters>

<services>
<service id="knp_paginator" class="%knp_paginator.class%">
<service id="knp_paginator" class="%knp_paginator.class%" public="true">
<argument type="service" id="event_dispatcher" />
</service>

<service id="Knp\Component\Pager\PaginatorInterface" alias="knp_paginator" public="true" />
<service id="Knp\Component\Pager\PaginatorInterface" alias="knp_paginator" />

<service id="knp_paginator.subscriber.paginate" class="Knp\Component\Pager\Event\Subscriber\Paginate\PaginationSubscriber">
<tag name="knp_paginator.subscriber" />
Expand All @@ -23,7 +23,7 @@
<service id="knp_paginator.subscriber.sortable" class="Knp\Component\Pager\Event\Subscriber\Sortable\SortableSubscriber">
<tag name="knp_paginator.subscriber" />
</service>

<service id="knp_paginator.subscriber.filtration" class="Knp\Component\Pager\Event\Subscriber\Filtration\FiltrationSubscriber">
<tag name="knp_paginator.subscriber" />
</service>
Expand Down

0 comments on commit 754129b

Please sign in to comment.