NAME

Catalyst::ModelRole::InjectionHelpers - Common role for adaptors

SYNOPSIS

package MyApp::MySpecialAdaptor

use Moose;
with 'Catalyst::ModelRole::InjectionHelpers';

sub ACCEPT_CONTEXT { ... }

DESCRIPTION

Common functionality and interface inforcement for injection helper adaptors. You should see Catalyst::Plugin::InjectionHelpers for more.

ATTRIBUTES

This role defines the following attributes

application

Your Catalyst application

from

A class name or coderef that is being adapted to run under Catalyst

method

The name of the method in your 'from' class that is used to create a new instance OR a coderef that is used to return an instance. Defaults to 'new'.

roles

A list of Moose::Roles to be composed into your class

get_config

injection_parameters

injected_component_name

TBD

AUTHOR

John Napiorkowski email:jjnapiork@cpan.org

SEE ALSO

Catalyst::Plugin::InjectionHelpers Catalyst, Catalyst::Model::InjectionHelpers::Application, Catalyst::Model::InjectionHelpers::Factory, Catalyst::Model::InjectionHelpers::PerRequest Catalyst::ModelRole::InjectionHelpers

COPYRIGHT & LICENSE

Copyright 2015, John Napiorkowski email:jjnapiork@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.