Catalyst::Component::ApplicationAttribute3pm
Moose role for components which capture the application context.
Usage
package My::Component;use Moose;extends 'Catalyst::Component';with 'Catalyst::Component::ApplicationAttribute';# Your code here1;
Overview
This role provides a BUILDARGS method which captures the application context into an attribute.
Attributes
_application
Weak reference to the application context.
Methods
BUILDARGS ($self, $app)
BUILDARGS method captures the application context into the "_application" attribute.
_application
Reader method for the application context.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.