logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Attributes

modifier_type
       A required string that is one of:

       •   around

       •   after

       •   before

       •   override

       •   augment

Author

       Florian Ragwitz <rafl@debian.org>

Consumes

       •   MooseX::Declare::Syntax::MethodDeclaration

Description

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

Methods

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.

Name

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

See Also

       •   MooseX::Declare

       •   MooseX::Declare::Syntax::MooseSetup

       •   MooseX::Declare::Syntax::MethodDeclaration

       •   MooseX::Method::Signatures

Version

       version 0.43

See Also