Form::Factory::Action::Meta::Role - The meta-class role for form action roles


Form-Factory documentation Contained in the Form-Factory distribution.

Index


Code Index:

NAME

Top

Form::Factory::Action::Meta::Role - The meta-class role for form action roles

VERSION

Top

version 0.020

SYNOPSIS

Top

  package MyApp::Action::Role::Foo;
  use Form::Factory::Processor::Role

DESCRIPTION

Top

All form action roles have this role attached to its meta-class.

ATTRIBUTES

Top

features

This is a hash of features provided by the role. The keys are the short name of the feature to attach and the value is a hash of options to pass to the feature's constructor on instantiation.

AUTHOR

Top

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Form-Factory documentation Contained in the Form-Factory distribution.
package Form::Factory::Action::Meta::Role;
BEGIN {
  $Form::Factory::Action::Meta::Role::VERSION = '0.020';
}
use Moose::Role;

has features => (
    is        => 'ro',
    isa       => 'HashRef',
    required  => 1,
    default   => sub { {} },
);

1;