MooseX::Declare::Syntax::Keyword::MethodModifier - Handle method modifier declarations


MooseX-Declare documentation  | view source Contained in the MooseX-Declare distribution.

Index


NAME

Top

MooseX::Declare::Syntax::Keyword::MethodModifier - Handle method modifier declarations

DESCRIPTION

Top

Allows the implementation of method modification handlers like around and before.

ATTRIBUTES

Top

modifier_type

A required string that is one of:

METHODS

Top

register_method_declaration

  Object->register_method_declaration (Object $metaclass, Str $name, Object $method)

This will add the method modifier to the $metaclass via Moose::Utils add_method_modifier, whose return value will also be returned from this method.

CONSUMES

Top

SEE ALSO

Top

AUTHORS

Top

COPYRIGHT AND LICENSE

Top


MooseX-Declare documentation  | view source Contained in the MooseX-Declare distribution.