Classes, interfaces and traits

CompatibilityCheckSubscriber

« More »

ControllersSubscriber

« More »

MigrationSubscriber

« More »

RestApiRequestLogFilterSubscriber

« More »

RestApiRouterSubscriber

« More »

ServicesSubscriber

« More »

SubApplicationRegistrationSubscriber

« More »

Classes, interfaces and traits

ArticleAttributeEntityLifecycleSubscriber

« More »

ArticleDetailEntityLifecycleSubscriber

« More »

OrderDetailEntityLifecycleSubscriber

« More »

Classes, interfaces and traits

SupplierOrderItemEntityLifecycleSubscriber

« More »

WarehouseArticleDetailConfigurationEntityLifecycleSubscriber

« More »

WarehouseEntityLifecycleSubscriber

« More »

Classes, interfaces and traits

OrderModuleSubscriber

« More »

Classes, interfaces and traits

RestApiControllerSubscriber

« More »

RestApiOrdersSubscriber

« More »

RestApiVariantUpdateSubscriber

« More »

Classes, interfaces and traits

FrontendAccountSubscriber

« More »

Classes, interfaces and traits

DocumentComponentSubscriber

« More »

Classes, interfaces and traits

BackendAnalyticsSubscriber

« More »

BackendArticleListSubscriber

« More »

BackendArticleSubscriber

« More »

BackendBaseSubscriber

« More »

BackendIndexSubscriber

« More »

BackendMailSubscriber

« More »

BackendOrderSubscriber

« More »

BackendOverviewSubscriber

« More »

BackendPluginManagerSubscriber

« More »

PluginTestNotificationSubscriber

« More »

VariantGenerationSubscriber

« More »

Classes, interfaces and traits

ArticleBarcodeLabelTypeSubscriber

« More »

BinLocationBarcodeLabelTypeSubscriber

« More »

Classes, interfaces and traits

DoctrineEventSubscriber

Doctrine subscriber that uses the Doctrine onFlush event to update the order attribute's pickwareLastChanged property whenever the order is updated.

Since we have to update the timestamp whenever Order is updated, but need to make the actual change in Order's Attribute (which is not configured to cascade updates to Order), using preUpdate doesn't work. Also, we cannot use postPersist and postUpdate either, because we cannot safely call $em->flush() in those callbacks.

The only viable (and correct) approach to do this is to make the necessary changes in onFlush and then update the unit of work accordingly so the Attribute always gets flushed along with the Order.

« More »

DoctrineSubscriberRegistrationSubscriber

Subscriber that registers a custom doctrine event Subscriber which is required to implement order overwrite protection while https://github.com/shopware5/shopware/pull/1474 is not merged yet.

« More »

Classes, interfaces and traits

SwagImportExportIntegrationSubscriber

« More »