class AvailabilityNotificationAdapter extends BaseAdapter

Class AvailabilityNotificationAdapter is injected as empire_changed_price_plugin.availability_notifications_adapter service. AvailabilityNotificationAdapter handles the logic for creating converters defined as constants in AvailabilityNotificationAdapterUtil.

Constants

BASE_CONVERTER_NAME

Base name for all converters. Every converter must end with this

Properties

protected AvailabilityNotificationManager $manager

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(AvailabilityNotificationManager $manager)

AvailabilityNotificationAdapter constructor.

setManager(AvailabilityNotificationManager $manager)

No description

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 44
BasicConverter buildConverterInstance(string $param, Request $request)

Parameters

string $param
Request $request

Return Value

BasicConverter

at line 33
__construct(AvailabilityNotificationManager $manager)

AvailabilityNotificationAdapter constructor.

Parameters

AvailabilityNotificationManager $manager

at line 55
setManager(AvailabilityNotificationManager $manager)

Parameters

AvailabilityNotificationManager $manager