FetchAllProductOptionsAction
extends AbstractProductOptionAction
in package
Class FetchAllProductOptionsAction
Table of Contents
- $textManager : TextManager
- $url : Url
- $connection : Connection
- $optionFactory : OptionFactory
- $optionReadService : OptionReadService
- $priceModifyService : ProductPriceConversionService
- $productOptionReadService : ProductOptionReadService
- __construct() : mixed
- __invoke() : Response
- This method will be called in order to process the incoming request.
- handle() : Response
- initAbstractAction() : void
- Module action initialization.
- downloadProductOptionIds() : array<string|int, mixed>
- setConnection() : void
- translate() : string
- Translates the section phrase.
Properties
$textManager
protected
TextManager
$textManager
$url
protected
Url
$url
$connection
private
Connection
$connection
$optionFactory
private
OptionFactory
$optionFactory
$optionReadService
private
OptionReadService
$optionReadService
$priceModifyService
private
ProductPriceConversionService
$priceModifyService
$productOptionReadService
private
ProductOptionReadService
$productOptionReadService
Methods
__construct()
public
__construct(ProductOptionReadService $productOptionReadService, OptionReadService $optionReadService, OptionFactory $optionFactory, Connection $connection, ProductPriceConversionService $priceModifyService) : mixed
Parameters
- $productOptionReadService : ProductOptionReadService
- $optionReadService : OptionReadService
- $optionFactory : OptionFactory
- $connection : Connection
- $priceModifyService : ProductPriceConversionService
Return values
mixed —__invoke()
This method will be called in order to process the incoming request.
public
__invoke(Request $request, Response $response) : Response
Parameters
Return values
Response —handle()
public
handle(Request $request, Response $response) : Response
Parameters
Tags
Return values
Response —initAbstractAction()
Module action initialization.
public
initAbstractAction(Url $url, TextManager $textManager) : void
Parameters
- $url : Url
- $textManager : TextManager
Return values
void —downloadProductOptionIds()
protected
downloadProductOptionIds() : array<string|int, mixed>
Return values
array<string|int, mixed> —setConnection()
protected
setConnection(Connection $connection) : void
Parameters
- $connection : Connection
Return values
void —translate()
Translates the section phrase.
protected
translate(string $phrase, string $section[, int|null $languageId = null ]) : string
Parameters
- $phrase : string
- $section : string
- $languageId : int|null = null