DataStore::CAS::CatalystControllerSimpleCASAdapter - Moo Role providing compatibility for Catalyst::Controller::SimpleCAS
version 0.08
package MyCAS; use Moo; extends 'DataStore::CAS::Simple'; # or whichever backend you want with 'DataStore::CAS::CatalystControllerSimpleCASAdapter'; with 'Catalyst::Controller::SimpleCAS::Store'; package MyCatalystApp; ... __PACKAGE__->config( ... 'Controller::SimpleCAS' => { store_class => 'MyCAS', ... }, ... );
This Role allows you to use a DataStore::CAS object as the back-end for Catalyst::Controller::SimpleCAS. It supplies all the methods required for the Catalyst::Controller::SimpleCAS::Store role, and supplies better implementations for some of the methods that ::SimpleCAS::Store would normally provide, so it needs added first from a separate 'with' statement.
Michael Conrad <mconrad@intellitree.com>
This software is copyright (c) 2023 by Michael Conrad, and IntelliTree Solutions llc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install DataStore::CAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DataStore::CAS
CPAN shell
perl -MCPAN -e shell install DataStore::CAS
For more information on module installation, please visit the detailed CPAN module installation guide.