1Catalyst::Model::FactorUys(e3r)Contributed Perl DocumentCaattiaolnyst::Model::Factory(3)
2
3
4

NAME

6       Catalyst::Model::Factory - use a plain class as a Catalyst model,
7       instantiating it every time it is requested
8

SYNOPSIS

10       This module works just like Catalyst::Model::Adaptor, except that a
11       fresh instance of your adapted class is created every time it is
12       requested 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.30.0                      2019-07-26       Catalyst::Model::Factory(3)
Impressum