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::Conflicting - A Moose metaclass for conflicting 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::Conflicting" is a subclass of Moose::Meta::Role::Method::Required.

Methods

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

       •   name

           The method name. This is required.

       •   roles

           The list of role names that generated the conflict. This is required.

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

   $method->roles
       Returns the roles that generated this conflicting method, as provided to the constructor.

   $method->roles_as_english_list
       Returns the roles that generated this conflicting method as an English list.

Name

       Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles

Version

       version 2.2207

See Also