logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Name

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

See Also

       For all the critical documentation, see Catalyst::Model::Adaptor.

perl v5.34.0                                       2022-06-09                      Catalyst::Model::Factory(3pm)

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".

See Also