1Catalyst::Component::ApUpsleircaCtoinotnrAitbtuCrtaietbdaultPyees(rt3l:):DCoocmupmoennetnatt:i:oAnpplicationAttribute(3)
2
3
4
6 Catalyst::Component::ApplicationAttribute - Moose Role for components
7 which capture the application context.
8
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
20 This role provides a BUILDARGS method which captures the application
21 context into an attribute.
22
24 _application
25 Weak reference to the application context.
26
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
36 Catalyst::Component, Catalyst::Controller.
37
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.32.0 2C0a2t0a-l0y7s-t2:8:Component::ApplicationAttribute(3)