MooseX::Role::Parameterized::Meta::Role::Parameterizable - metaclass for parameterizable roles
This is the metaclass for parameterizable roles, roles that have their parameters currently unbound. These are the roles that you use "with" in Moose, but instead of composing the parameterizable role, we construct a new parameterized role (MooseX::Role::Parameterized::Meta::Role::Parameterized) and use that new parameterized instead.
The name of the class that will be used to construct the parameterized role.
The name of the class that will be used to construct the parameters object.
When this role is consumed, the parameters object will be instantiated using this metaclass.
A code reference that is used to generate a role based on the parameters provided by the consumer. The user usually specifies it using the "role" in MooseX::Role::Parameterized keyword.
The arguments are those specified by the consumer as parameter values.
This method generates and returns a new instance of "parameterized_role_metaclass". It can take any combination of three named parameters:
A hashref of parameters for the role, same as would be passed in at a "with" statement.
A package name that, if present, we will use for the generated role; if not, we generate an anonymous role.
A consumer metaobject, if available.
Overrides "apply" in Moose::Meta::Role to automatically generate the parameterized role.