1Catalyst::Model::FactorUys:e:rPeCroRnetqruiebsutt(e3d)PCeartlalDyosctu:m:eMnotdaetli:o:nFactory::PerRequest(3)
2
3
4
6 Catalyst::Model::Factory::PerRequest - use a plain class as a Catalyst
7 model, instantiating it once per Catalyst request
8
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
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
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
28 For all the critical documentation, see Catalyst::Model::Adaptor.
29
30
31
32perl v5.34.0 2021-0C7a-t2a2lyst::Model::Factory::PerRequest(3)