++ed by:
STAUGAARD

1 PAUSE user
2 non-PAUSE users.

John Napiorkowski

NAME

Catalyst::Model::InjectionHelpers::PerRequest - Adaptor that returns a request scoped model

SYNOPSIS

    package MyApp;

    use Catalyst 'InjectionHelper';

    MyApp->inject_components(
    'Model::PerRequest' => {
      from_class=>'MyApp::PerRequest', 
      adaptor=>'PerRequest', 
      method=>'new'
    });

    MyApp->config(
      'Model::Factory' => { aaa=>100 },
    );

    MyApp->setup;
    

DESCRIPTION

Injection helper adaptor that returns a new model once for each request, scoped to the request. See Catalyst::Plugin::InjectionHelpers for details.

AUTHOR

John Napiorkowski email:jjnapiork@cpan.org

SEE ALSO

Catalyst::Plugin::InjectionHelpers Catalyst, Catalyst::Model::InjectionHelpers::Application, Catalyst::Model::InjectionHelpers::Factory, Catalyst::Model::InjectionHelpers::PerRequest Catalyst::ModelRole::InjectionHelpers

COPYRIGHT & LICENSE

Copyright 2016, John Napiorkowski email:jjnapiork@cpan.org

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