Skip to content

Method fromCachedConfig should only load config #35

Description

@sandrokeil

The method fromCachedConfig should be split up. It should only load the config and after that, the initialize() method should be called like for the normal initialization. For instance if the $eventQueue parameter is an instance which relies on event engine itself it can only be created via proxy manager.

    public static function fromCachedConfig(
        array $config,
        Schema $schema,
        Flavour $flavour,
        EventStore $eventStore,
        LogEngine $logEngine,
        ContainerInterface $container,
        DocumentStore $documentStore = null,
        MessageProducer $eventQueue = null
    ): self {

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions