Skip to content

abstract struct Athena::Framework::ParamConverter::ConfigurationInterface(ArgType)
inherits Struct #

Allows defining extra configuration data that can be supplied within the ATHA::ParamConverter annotation. By default this type includes the name of the argument that should be converted and the the ATH::ParamConverter that should be used for the conversion.

The ArgType generic represents the type of the controller action argument self relates to.

See the Additional Configuration example of ATH::ParamConverter for more information.

Direct known subclasses

Athena::Framework::RequestBodyConverter::Configuration(ArgType) Athena::Framework::TimeConverter::Configuration(ArgType)

Constructors#

.new(name : String, converter : ATH::ParamConverter.class) #

View source

Methods#

#converter #

Returns the converter class that should be used to convert the argument.

View source

#name #

Returns the name of the argument the converter should be applied to.

View source

#type #

Returns the type of the argument the converter is applied to.

View source