NAME
DataStore::CAS::CatalystControllerSimpleCASAdapter - Moo Role providing compatibility for Catalyst::Controller::SimpleCAS
VERSION
version 0.08
SYNOPSIS
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',
...
},
...
);
DESCRIPTION
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.
AUTHOR
Michael Conrad <mconrad@intellitree.com>
COPYRIGHT AND LICENSE
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.