1Moose::Meta::Role::CompUosseirteC(o3n)tributed Perl DocuMmoeonstea:t:iMoenta::Role::Composite(3)
2
3
4

NAME

6       Moose::Meta::Role::Composite - An object to represent the set of roles
7

VERSION

9       version 2.2012
10

DESCRIPTION

12       A composite is a role that consists of a set of two or more roles.
13
14       The API of a composite role is almost identical to that of a regular
15       role.
16

INHERITANCE

18       "Moose::Meta::Role::Composite" is a subclass of Moose::Meta::Role.
19

METHODS

21   Moose::Meta::Role::Composite->new(%options)
22       This returns a new composite role object. It accepts the same options
23       as its parent class, with a few changes:
24
25       ·   roles
26
27           This option is an array reference containing a list of
28           Moose::Meta::Role object. This is a required option.
29
30       ·   name
31
32           If a name is not given, one is generated from the roles provided.
33
34       ·   apply_params(\%role_params)
35
36           Creates a new RoleSummation role application with %role_params and
37           applies the composite role to it. The RoleSummation role
38           application class used is determined by the composite role's
39           "application_role_summation_class" attribute.
40
41       ·   reinitialize($metaclass)
42
43           Like "Class::MOP::Package->reinitialize", but doesn't allow passing
44           a string with the package name, as there is no real package for
45           composite roles.
46

BUGS

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

AUTHORS

51       ·   Stevan Little <stevan.little@iinteractive.com>
52
53       ·   Dave Rolsky <autarch@urth.org>
54
55       ·   Jesse Luehrs <doy@tozt.net>
56
57       ·   Shawn M Moore <code@sartak.org>
58
59       ·   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
60
61       ·   Karen Etheridge <ether@cpan.org>
62
63       ·   Florian Ragwitz <rafl@debian.org>
64
65       ·   Hans Dieter Pearcey <hdp@weftsoar.net>
66
67       ·   Chris Prather <chris@prather.org>
68
69       ·   Matt S Trout <mst@shadowcat.co.uk>
70
72       This software is copyright (c) 2006 by Infinity Interactive, Inc.
73
74       This is free software; you can redistribute it and/or modify it under
75       the same terms as the Perl 5 programming language system itself.
76
77
78
79perl v5.30.1                      2020-01-30   Moose::Meta::Role::Composite(3)
Impressum