| 1 | package Bread::Board::LifeCycle::Request; | ||
| 2 | 3 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | $Bread::Board::LifeCycle::Request::AUTHORITY = 'cpan:STEVAN'; | |
| 4 | } | ||
| 5 | 3 | $Bread::Board::LifeCycle::Request::VERSION = '0.14'; | |
| 6 | 3 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 3 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | # ABSTRACT: lifecycle for request-scoped services | ||
| 9 | |||
| 10 | |||
| 11 | # just behaves like a singleton - ::Request instances | ||
| 12 | # will get flushed after the response is sent | ||
| 13 | 3 | with 'Bread::Board::LifeCycle::Singleton'; | |
| 14 | |||
| 15 | 3 | 1; | |
| 16 | |||
| 17 | __END__ | ||