1Catalyst::Model::FactorUys:e:rPeCroRnetqruiebsutt(e3d)PCeartlalDyosctu:m:eMnotdaetli:o:nFactory::PerRequest(3)
2
3
4

NAME

6       Catalyst::Model::Factory::PerRequest - use a plain class as a Catalyst
7       model, instantiating it once per Catalyst request
8

SYNOPSIS

10       This module works just like Catalyst::Model::Factory, except that a
11       fresh instance of your adapted class is once per Catalyst request, not
12       every time you ask for the object via "$c->model".
13

CUSTOMIZING

15       You can customize your subclass just like Catalyst::Model::Adaptor.
16       Instead of $app, though, you'll get $c, the current request context.
17

METHODS

19       These methods are called by Catalyst, not by you:
20
21   COMPONENT
22       Load your class
23
24   ACCEPT_CONTEXT
25       Create an instance of your class and return it.
26

SEE ALSO

28       For all the critical documentation, see Catalyst::Model::Adaptor.
29
30
31
32perl v5.32.1                      2021-0C1a-t2a6lyst::Model::Factory::PerRequest(3)
Impressum