Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getServices () | |
getTopicName ($routeUrl, $httpMethod) | |
Data Fields | |
const | CACHE_ID = 'webapi_async_config' |
const | TOPIC_PREFIX = 'async.' |
const | DEFAULT_CONSUMER_INSTANCE = MassConsumer::class |
const | DEFAULT_CONSUMER_CONNECTION = 'amqp' |
const | DEFAULT_CONSUMER_MAX_MESSAGE = null |
const | SERVICE_PARAM_KEY_INTERFACE = 'interface' |
const | SERVICE_PARAM_KEY_METHOD = 'method' |
const | SERVICE_PARAM_KEY_TOPIC = 'topic' |
const | DEFAULT_HANDLER_NAME = 'async' |
const | SYSTEM_TOPIC_NAME = 'async.system.required.wrapper.topic' |
const | SYSTEM_TOPIC_CONFIGURATION |
Class for accessing to Webapi_Async configuration.
@api
Definition at line 19 of file ConfigInterface.php.
getServices | ( | ) |
#- Get array of generated topics name and related to this topic service class and methods
Implemented in Config.
getTopicName | ( | $routeUrl, | |
$httpMethod | |||
) |
Get topic name from webapi_async_config services config array by route url and http method
string | $routeUrl | |
string | $httpMethod | GET|POST|PUT|DELETE |
Implemented in Config.
const CACHE_ID = 'webapi_async_config' |
#+ Constants for Webapi Asynchronous Config generation
Definition at line 24 of file ConfigInterface.php.
const DEFAULT_CONSUMER_CONNECTION = 'amqp' |
Definition at line 27 of file ConfigInterface.php.
const DEFAULT_CONSUMER_INSTANCE = MassConsumer::class |
Definition at line 26 of file ConfigInterface.php.
const DEFAULT_CONSUMER_MAX_MESSAGE = null |
Definition at line 28 of file ConfigInterface.php.
const DEFAULT_HANDLER_NAME = 'async' |
Definition at line 32 of file ConfigInterface.php.
const SERVICE_PARAM_KEY_INTERFACE = 'interface' |
Definition at line 29 of file ConfigInterface.php.
const SERVICE_PARAM_KEY_METHOD = 'method' |
Definition at line 30 of file ConfigInterface.php.
const SERVICE_PARAM_KEY_TOPIC = 'topic' |
Definition at line 31 of file ConfigInterface.php.
const SYSTEM_TOPIC_CONFIGURATION |
Definition at line 34 of file ConfigInterface.php.
const SYSTEM_TOPIC_NAME = 'async.system.required.wrapper.topic' |
Definition at line 33 of file ConfigInterface.php.
const TOPIC_PREFIX = 'async.' |
Definition at line 25 of file ConfigInterface.php.