FreeBSD Manual Pages
Catalyst::Model::FactoUser)Contributed Perl DocumenCatalyst::Model::Factory(3) NAME Catalyst::Model::Factory - use a plain class as a Catalyst model, instantiating it every time it is requested SYNOPSIS This module works just like Catalyst::Model::Adaptor, except that a fresh instance of your adapted class is created every time it is requested via "$c->model". CUSTOMIZING You can customize your subclass just like Catalyst::Model::Adaptor. Instead of $app, though, you'll get $c, the current request context. METHODS These methods are called by Catalyst, not by you: COMPONENT Load your class ACCEPT_CONTEXT Create an instance of your class and return it. SEE ALSO For all the critical documentation, see Catalyst::Model::Adaptor. perl v5.32.0 2011-02-23 Catalyst::Model::Factory(3)
NAME | SYNOPSIS | CUSTOMIZING | METHODS | SEE ALSO
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Catalyst::Model::Factory&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>