ReplaceWrongTranslationInProductTitleCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Table of Contents
Properties
- $configService : ConfigService|object
- $container : ContainerInterface
- $productFeedDirPath : string
- $queueService : mixed
Methods
- __construct() : mixed
- getConditionTextUpperOrLowerOrMixed() : string
- configure() : mixed
- Configure command
- execute() : int|void|null
- getDataFileTranslateDir() : string
- getWordsToReplaceArray() : array<string|int, mixed>
Properties
$configService
private
ConfigService|object
$configService
$container
private
ContainerInterface
$container
$productFeedDirPath
private
string
$productFeedDirPath
$queueService
private
mixed
$queueService
Methods
__construct()
public
__construct([null $name = null ][, ContainerInterface|null $container = null ][, QueueService|null $queueService = null ]) : mixed
Parameters
- $name : null = null
- $container : ContainerInterface|null = null
- $queueService : QueueService|null = null
getConditionTextUpperOrLowerOrMixed()
public
getConditionTextUpperOrLowerOrMixed(mixed $first, mixed $second) : string
Parameters
- $first : mixed
- $second : mixed
Return values
stringconfigure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|void|nullgetDataFileTranslateDir()
private
getDataFileTranslateDir() : string
Return values
stringgetWordsToReplaceArray()
private
getWordsToReplaceArray() : array<string|int, mixed>