NAME

MooseX::Declare::Syntax::RoleApplication - Handle user specified roles

DESCRIPTION

This role extends MooseX::Declare::Syntax::OptionHandling and provides a with|/add_with_option_customizations option.

CONSUMES

METHODS

add_with_option_customizations

Object->add_with_option_customizations (
    Object   $context,
    Str      $package,
    ArrayRef $roles,
    HashRef  $options
)

This will add a call to with in the scope code.

SEE ALSO

AUTHOR, COPYRIGHT & LICENSE

See MooseX::Declare