1 package Catalyst::IOC::LifeCycle::Request;
3 use namespace::autoclean;
4 with 'Bread::Board::LifeCycle::Singleton';
10 my $ctx = $self->param('ctx');
11 my $stash_key = "__Catalyst_IOC_LifeCycle_Request_" . $self->name;
12 return $ctx->stash->{$stash_key} ||= $self->$orig(@_);
23 Catalyst::IOC::LifeCycle::Request - Components that last for one request
33 Catalyst Contributors, see Catalyst.pm
37 This library is free software. You can redistribute it and/or modify it under
38 the same terms as Perl itself.