View on
MetaCPAN
Gennadiy Filatov > Salvation > Salvation::Service::Controller

Download:
Salvation-0.9913.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Salvation::Service::Controller - Base class for controller

REQUIRES ^

Moose

DESCRIPTION ^

Applied roles

Salvation::Roles::ServiceReference

METHODS ^

To be redefined

init

main

Two methods with the same semantics as the similarly named ones of Salvation::Service. Put init and main inside your controller if you think these do not deserve to be inside your service.

before_view_processing

Special hook. Will be called when the service is about to begin view processing. The only argument is $self which is current view's instance.

after_view_processing

Special hook. Will be called when the service has just finished view processing. The only argument is $self which is current view's instance.

syntax highlighting: