File tree Expand file tree Collapse file tree
src/Sylius/Bundle/CoreBundle
Resources/config/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818use Sylius \Component \Promotion \Event \CatalogPromotionUpdated ;
1919use Sylius \Component \Resource \Repository \RepositoryInterface ;
2020
21- final class CatalogPromotionUpdateListener
21+ final class CatalogPromotionUpdatedListener
2222{
2323 private AllCatalogPromotionsProcessorInterface $ catalogPromotionsProcessor ;
2424
Original file line number Diff line number Diff line change 1919use Sylius \Component \Core \Model \ProductInterface ;
2020use Sylius \Component \Core \Repository \ProductRepositoryInterface ;
2121
22- final class ProductUpdateListener
22+ final class ProductUpdatedListener
2323{
2424 private ProductRepositoryInterface $ productRepository ;
2525
Original file line number Diff line number Diff line change 1919use Sylius \Component \Core \Model \ProductVariantInterface ;
2020use Sylius \Component \Core \Repository \ProductVariantRepositoryInterface ;
2121
22- final class ProductVariantUpdateListener
22+ final class ProductVariantUpdatedListener
2323{
2424 private ProductVariantRepositoryInterface $ productVariantRepository ;
2525
Original file line number Diff line number Diff line change 116116 <tag name =" messenger.message_handler" bus =" sylius.event_bus" />
117117 </service >
118118
119- <service id =" Sylius\Bundle\CoreBundle\Listener\CatalogPromotionUpdateListener " >
119+ <service id =" Sylius\Bundle\CoreBundle\Listener\CatalogPromotionUpdatedListener " >
120120 <argument type =" service" id =" Sylius\Bundle\CoreBundle\Processor\AllCatalogPromotionsProcessorInterface" />
121121 <argument type =" service" id =" sylius.repository.catalog_promotion" />
122122 <argument type =" service" id =" doctrine.orm.entity_manager" />
139139 <tag name =" messenger.message_handler" bus =" sylius.event_bus" />
140140 </service >
141141
142- <service id =" Sylius\Bundle\CoreBundle\Listener\ProductUpdateListener " >
142+ <service id =" Sylius\Bundle\CoreBundle\Listener\ProductUpdatedListener " >
143143 <argument type =" service" id =" sylius.repository.product" />
144144 <argument type =" service" id =" Sylius\Bundle\CoreBundle\Processor\ProductCatalogPromotionsProcessorInterface" />
145145 <argument type =" service" id =" doctrine.orm.entity_manager" />
146146 <tag name =" messenger.message_handler" bus =" sylius.event_bus" />
147147 </service >
148148
149- <service id =" Sylius\Bundle\CoreBundle\Listener\ProductVariantUpdateListener " >
149+ <service id =" Sylius\Bundle\CoreBundle\Listener\ProductVariantUpdatedListener " >
150150 <argument type =" service" id =" sylius.repository.product_variant" />
151151 <argument type =" service" id =" Sylius\Bundle\CoreBundle\Processor\ProductVariantCatalogPromotionsProcessorInterface" />
152152 <argument type =" service" id =" doctrine.orm.entity_manager" />
Original file line number Diff line number Diff line change 1616use Doctrine \ORM \EntityManagerInterface ;
1717use PhpSpec \ObjectBehavior ;
1818use SM \Factory \FactoryInterface ;
19- use SM \StateMachine \StateMachineInterface ;
2019use Sylius \Bundle \CoreBundle \Processor \AllCatalogPromotionsProcessorInterface ;
2120use Sylius \Component \Core \Model \CatalogPromotionInterface ;
2221use Sylius \Component \Promotion \Event \CatalogPromotionUpdated ;
23- use Sylius \Component \Promotion \Model \CatalogPromotionTransitions ;
2422use Sylius \Component \Resource \Repository \RepositoryInterface ;
2523
26- final class CatalogPromotionUpdateListenerSpec extends ObjectBehavior
24+ final class CatalogPromotionUpdatedListenerSpec extends ObjectBehavior
2725{
2826 function let (
2927 AllCatalogPromotionsProcessorInterface $ catalogPromotionReprocessor ,
Original file line number Diff line number Diff line change 2121use Sylius \Component \Core \Model \ProductInterface ;
2222use Sylius \Component \Core \Repository \ProductRepositoryInterface ;
2323
24- final class ProductUpdateListenerSpec extends ObjectBehavior
24+ final class ProductUpdatedListenerSpec extends ObjectBehavior
2525{
2626 function let (
2727 ProductRepositoryInterface $ productRepository ,
Original file line number Diff line number Diff line change 2121use Sylius \Component \Core \Model \ProductVariantInterface ;
2222use Sylius \Component \Core \Repository \ProductVariantRepositoryInterface ;
2323
24- final class ProductVariantUpdateListenerSpec extends ObjectBehavior
24+ final class ProductVariantUpdatedListenerSpec extends ObjectBehavior
2525{
2626 function let (
2727 ProductVariantRepositoryInterface $ productVariantRepository ,
You can’t perform that action at this time.
0 commit comments