StatisticAdapter
class StatisticAdapter extends BaseAdapter
Class StatisticAdapter is injected as alligator.statistic.adapter service. StatisticAdapter handles the logic for creating converters defined as constants in StatisticAdapterUtil.
Constants
| BASE_CONVERTER_NAME |
Base name for all converters. Every converter must end with this |
Properties
| protected StatisticManager | $statisticManager |
Methods
bool
apply(Request $request, ParamConverter $configuration)
Stores the object in the request.
from BaseAdapter
buildConverterInstance(string $param, Request $request)
No description
Details
in BaseAdapter at line 35
bool
apply(Request $request, ParamConverter $configuration)
Stores the object in the request.
in BaseAdapter at line 49
bool
supports(ParamConverter $configuration)
Checks if the object is supported.
in BaseAdapter at line 61
mixed
convert(BasicConverter $converter)
in BaseAdapter at line 69
string
getNameSpace()
in BaseAdapter at line 79
string
getAdapterUtil()
Retruns AdapterUtil class for provided adapter
at line 38
BasicConverter
buildConverterInstance(string $param, Request $request)
at line 30
__construct(StatisticManager $statisticManager)
StatisticAdapter constructor.