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 "AUTHORS" in MooX::PluginKit and "LICENSE" in MooX::PluginKit.