Moose::Meta::Role::Method::Conflicting(3) A Moose metaclass for conflicting methods in Roles

VERSION

version 2.1605

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.

BUGS

See ``BUGS'' in Moose for details on reporting bugs.

AUTHORS

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Infinity Interactive, Inc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.