trait DependencySerializationTrait (View source)

Provides dependency injection friendly methods for serialization.

Properties

protected array $_serviceIds

An array of service IDs keyed by property name used for serialization.

protected array $_entityStorages

An array of entity type IDs keyed by the property name of their storages.

Methods

__sleep()

{@inheritdoc}

__wakeup()

{@inheritdoc}

Details

__sleep()

{@inheritdoc}

__wakeup()

{@inheritdoc}