class SidebarProductSearchAdapter extends BaseAdapter

Class SidebarProductSearchAdapter is injected as empire_sidebar_product_search_plugin.sidebar_product_search_adapter service. SidebarProductSearchAdapter handles the logic for creating converters defined as constants in SidebarProductSearchAdapterUtil.

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
convert(BasicConverter $converter)

No description

string
getNameSpace()

No description

string
getAdapterUtil()

Retruns AdapterUtil class for provided adapter

buildConverterInstance(string $param, Request $request)

No description

__construct(ProductManager $manager)

SidebarProductSearchAdapter constructor.

Details

in BaseAdapter at line 35
bool apply(Request $request, ParamConverter $configuration)

Stores the object in the request.

Parameters

Request $request The request
ParamConverter $configuration Contains the name, class and options of the object

Return Value

bool True if the object has been successfully set, else false

in BaseAdapter at line 49
bool supports(ParamConverter $configuration)

Checks if the object is supported.

Parameters

ParamConverter $configuration Should be an instance of ParamConverter

Return Value

bool True if the object is supported, else false

in BaseAdapter at line 61
mixed convert(BasicConverter $converter)

Parameters

BasicConverter $converter

Return Value

mixed

in BaseAdapter at line 69
string getNameSpace()

Return Value

string

in BaseAdapter at line 79
string getAdapterUtil()

Retruns AdapterUtil class for provided adapter

Return Value

string

at line 41
BasicConverter buildConverterInstance(string $param, Request $request)

Parameters

string $param
Request $request

Return Value

BasicConverter

at line 30
__construct(ProductManager $manager)

SidebarProductSearchAdapter constructor.

Parameters

ProductManager $manager