Catalyst::Component::ApplicationAttribute(3pm)

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 here
    1;

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.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Authors

Catalyst Contributors, see Catalyst.pm

From libcatalyst-perl 5.90132-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.