The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MooX::PluginKit::ConsumerRole - Common functionality for PluginKit consumers.

DESCRIPTION

This role alters BUILDARGS to replace the plugins argument with the "plugin_factory" argument.

Using this role by itself isn't all that useful. Instead head on over to MooX::PluginKit::Consumer.

ARGUMENTS

plugin_factory

The MooX::PluginKit::Factory used to apply plugins to a class. There shouldn't be a reason to set this argument directly. Instead you'll want to set the plugins argument which gets pseudo-coerced into this argument.

AUTHORS AND LICENSE

See "AUTHOR" in MooX::PluginKit and "LICENSE" in MooX::PluginKit.