Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use a dependency injection container #8636

@szepeviktor

Description

@szepeviktor

While developing a Composer plugin I very much feel the need of a DI container.

final public function __construct(array $repoConfig, IOInterface $io, Config $config, ProcessExecutor $process = null, RemoteFilesystem $remoteFilesystem = null)

Passing all these arguments is very tedious
and accessing one instance of a class from different places is not possible automatically.

Thank you for considering.
Was #3803

@stof @Seldaek

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions