MooseX::Declare::Syntax::RoleApplication(3p)

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

•   MooseX::Declare::Syntax::OptionHandling

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

•   MooseX::Declare

•   MooseX::Declare::Syntax::OptionHandling

AUTHOR, COPYRIGHT & LICENSE
See MooseX::Declare