Reaction::InterfaceModel::Object
InterfaceModel Object base class.
RW, isa HashRef - Returns an empty hashref by default. It will hold a series of actions as keys with their corresponding action classes as values.
RO, isa Str - Default action class prefix. Lazy build by default to the value returned by _build_default_action_class_prefix which is ref $self || $self.
_build_default_action_class_prefix
ref $self || $self
Shortcuts for these same subs in meta. They will return attribute objects that are of the correct type, Reaction::Meta::InterfaceModel::Object::ParameterAttribute and Reaction::Meta::InterfaceModel::Object::DomainModelAttribute
Provides the default package name for the $action action-class. It defaults to the value of _default_action_class_prefix followed by ::Action::$action
$action
_default_action_class_prefix
::Action::$action
#for MyApp::Foo, returns MyApp::Foo::Action::Create $obj->_default_action_class_for('Create');
Return the action class for an action name. Will search _action_class_map or, if not found, use the value of _default_action_class_for
_action_class_map
_default_action_class_for
Will return a new instance of $action. If specified, %args will be passed through to new as is.
new
By default will return an empty hashref
Returns empty hashref by default.
Reaction::InterfaceModel::ObjectClass
See Reaction::Class for authors.
See Reaction::Class for the license.
To install Reaction, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reaction
CPAN shell
perl -MCPAN -e shell install Reaction
For more information on module installation, please visit the detailed CPAN module installation guide.