NAME

MooseX::MojoControllerExposingAttributes::Trait::Class - metaclass helper for MooseX::MojoControllerExposingAttributes

SYNOPSIS

    # No user serviceable parts contained within

DESCRIPTION

This is a class trait that is applied to your class's metaclass by MooseX::MojoControllerExposingAttributes.

You probably don't want to be worried about the internal details of this.

METHODS

get_read_method_name_for_mojo_helper( $wanted_name )

Returns the name of the reader method for the attribute exposed to Mojolicious as the passed argument, or, if no such attribute is exposed, the undefined value.

This method works by examining each attribute to see if the attribute has the correct trait and what name the attribute is exposed to Mojolicious as. If the metaclass has been made immutable this examination only has to happen once and the results are cached.

SEE ALSO

MooseX::MojoControllerExposingAttributes