BaseAdapter
abstract class BaseAdapter implements ParamConverterInterface, AdapterInterface
Abstract class BaseAdapter which needs to be extended in all custom adapters
Constants
| BASE_CONVERTER_NAME |
Base name for all converters. Every converter must end with this |
Methods
bool
apply(Request $request, ParamConverter $configuration)
Stores the object in the request.
bool
supports(ParamConverter $configuration)
Checks if the object is supported.
mixed
string
getNameSpace()
No description
string
getAdapterUtil()
Retruns AdapterUtil class for provided adapter
buildConverterInstance(string $param, Request $request)
Creates converter instance
Details
at line 35
bool
apply(Request $request, ParamConverter $configuration)
Stores the object in the request.
at line 49
bool
supports(ParamConverter $configuration)
Checks if the object is supported.
at line 61
mixed
convert(BasicConverter $converter)
at line 69
string
getNameSpace()
at line 79
string
getAdapterUtil()
Retruns AdapterUtil class for provided adapter
at line 92
abstract BasicConverter
buildConverterInstance(string $param, Request $request)
Creates converter instance