Skip to content

Add a new plugin to the PluginClient #96

Closed
@Taluu

Description

@Taluu
Q A
Bug? no
New Feature? yes
Version 1.7.0

Actual Behavior

Once your PluginClient has been initialized, you can't add new plugins to it

Expected Behavior

Being able to add some new plugins on the fly. I'm currently registering it in a Behat container, so I registered a few plugins on the construct https://github.com/Taluu/Behapi/blob/master/src/Container.php#L85.

But I would like to be able to give the possibility for the users to add some new plugins (such as the auth plugin or a random listener) so that they can do stuff on their own.

Possible Solutions

Add a addPlugin or something to the PluginClient

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