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

Moose::Meta::Method::Overridden - A Moose Method metaclass for overridden methods

Authors

       •   Stevan Little <stevan@cpan.org>

       •   Dave Rolsky <autarch@urth.org>

       •   Jesse Luehrs <doy@cpan.org>

       •   Shawn M Moore <sartak@cpan.org>

       •   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>

       •   Karen Etheridge <ether@cpan.org>

       •   Florian Ragwitz <rafl@debian.org>

       •   Hans Dieter Pearcey <hdp@cpan.org>

       •   Chris Prather <chris@prather.org>

       •   Matt S Trout <mstrout@cpan.org>

Bugs

       See "BUGS" in Moose for details on reporting bugs.

Description

       This class implements method overriding logic for the Moose "override" keyword.

       The overriding subroutine's parent will be invoked explicitly using the "super" keyword from the parent
       class's method definition.

Methods

Moose::Meta::Method::Overridden->new(%options)
       This constructs a new object. It accepts the following options:

       •   class

           The metaclass object for the class in which the override is being declared. This option is required.

       •   name

           The  name  of  the  method  which  we  are  overriding.  This method must exist in one of the class's
           superclasses. This option is required.

       •   method

           The subroutine reference which implements the overriding. This option is required.

Name

       Moose::Meta::Method::Overridden - A Moose Method metaclass for overridden methods

Version

       version 2.2207

See Also