2 package Moose::Meta::Role::Method::Conflicting;
7 use base qw(Moose::Meta::Role::Method::Required);
10 $VERSION = eval $VERSION;
11 our $AUTHORITY = 'cpan:STEVAN';
13 __PACKAGE__->meta->add_attribute('roles' => (
26 Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles
32 C<Moose::Meta::Role::Method::Conflicting> is a subclass of
33 L<Moose::Meta::Role::Method::Required>.
39 =item B<< Moose::Meta::Role::Method::Conflicting->new(%options) >>
41 This creates a new type constraint based on the provided C<%options>:
47 The method name. This is required.
51 The list of role names that generated the conflict. This is required.
55 =item B<< $method->name >>
57 Returns the conflicting method's name, as provided to the constructor.
59 =item B<< $method->roles >>
61 Returns the roles that generated this conflicting method, as provided to the
68 All complex software has bugs lurking in it, and this module is no
69 exception. If you find a bug please either email me, or add the bug
74 Stevan Little E<lt>stevan@iinteractive.comE<gt>
76 =head1 COPYRIGHT AND LICENSE
78 Copyright 2006-2009 by Infinity Interactive, Inc.
80 L<http://www.iinteractive.com>
82 This library is free software; you can redistribute it and/or modify
83 it under the same terms as Perl itself.