NAME

Form::Factory::Feature::Role::PreProcess - features that run just before processing

VERSION

version 0.009

SYNOPSIS

  package MyApp::Feature::Baz;
our $VERSION = '0.009';


  use Moose;

  with qw(
      Form::Factory::Feature
      Form::Factory::Feature::Role::PreProcess
  );

  sub pre_process {
      my $self = shift;
      MyApp::Logger->info('Starting to process.');
  }

  package Form::Factory::Feature::Custom::Baz;
our $VERSION = '0.009';


  sub register_implementation { 'MyApp::Feature::Baz' }

DESCRIPTION

Features that run something immediately before the action runs may implement this role. This feature cannot stop the action from running. That must be performed with a Form::Factory::Feature::Role::Check.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2009 Qubling Software LLC.

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