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::Role::Method::Required - A Moose metaclass for required methods in Roles

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

Inheritance

       "Moose::Meta::Role::Method::Required" is a subclass of Class::MOP::Object.  It is not a subclass of
       "Moose::Meta::Role::Method" since it does not provide an implementation of the method.

Methods

Moose::Meta::Role::Method::Required->new(%options)
       This creates a new type constraint based on the provided %options:

       •   name

           The method name. This is required.

   $method->name
       Returns the required method's name, as provided to the constructor.

Name

       Moose::Meta::Role::Method::Required - A Moose metaclass for required methods in Roles

Version

       version 2.2207

See Also