1Catalyst::Component::ApUpsleircaCtoinotnrAitbtuCrtaietbdaultPyees(rt3l:):DCoocmupmoennetnatt:i:oAnpplicationAttribute(3)
2
3
4

NAME

6       Catalyst::Component::ApplicationAttribute - Moose Role for components
7       which capture the application context.
8

SYNOPSIS

10           package My::Component;
11           use Moose;
12           extends 'Catalyst::Component';
13           with 'Catalyst::Component::ApplicationAttribute';
14
15           # Your code here
16
17           1;
18

DESCRIPTION

20       This role provides a BUILDARGS method which captures the application
21       context into an attribute.
22

ATTRIBUTES

24   _application
25       Weak reference to the application context.
26

METHODS

28   BUILDARGS ($self, $app)
29       BUILDARGS method captures the application context into the
30       "_application" attribute.
31
32   _application
33       Reader method for the application context.
34

SEE ALSO

36       Catalyst::Component, Catalyst::Controller.
37

AUTHORS

39       Catalyst Contributors, see Catalyst.pm
40
42       This library is free software. You can redistribute it and/or modify it
43       under the same terms as Perl itself.
44
45
46
47perl v5.12.1                      2C0a0t9a-l1y1s-t2:2:Component::ApplicationAttribute(3)
Impressum