Catalyst::ActionChain(3) Chain of Catalyst Actions

SYNOPSIS

See Catalyst::Manual::Intro for more info about Chained actions.

DESCRIPTION

This class represents a chain of Catalyst Actions. It behaves exactly like the action at the *end* of the chain except on dispatch it will execute all the actions in the chain in order.

METHODS

chain

Accessor for the action chain; will be an arrayref of the Catalyst::Action objects encapsulated by this chain.

dispatch( $c )

Dispatch this action chain against a context; will dispatch the encapsulated actions in order.

from_chain( \@actions )

Takes a list of Catalyst::Action objects and constructs and returns a Catalyst::ActionChain object representing a chain of these actions

number_of_captures

Returns the total number of captures for the entire chain of actions.

match_captures

Match all the captures that this chain encloses, if any.

scheme

Any defined scheme for the actionchain

meta

Provided by Moose

AUTHORS

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.