Logidav Docs

CreateMauroFerrettiNewProductsCommand extends ContainerAwareCommand
in package

Table of Contents

Properties

$attributeSetService  : mixed
$container  : mixed
$manufacturerBaseService  : mixed
$mauroFerrettiProductService  : mixed
$newProductService  : mixed
$openAi  : mixed

Methods

__construct()  : mixed
configure()  : mixed
execute()  : mixed
handleCreateNewProducts()  : mixed
loadCsvMapping()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(MauroFerrettiSRLProductService $mauroFerrettiProductService, NewProductService $newProductService, ManufacturerBaseService $manufacturerBaseService, ContainerInterface $container, OpenAi $openAi, AttributeSetService $attributeSetService) : mixed
Parameters
$mauroFerrettiProductService : MauroFerrettiSRLProductService
$newProductService : NewProductService
$manufacturerBaseService : ManufacturerBaseService
$container : ContainerInterface
$openAi : OpenAi
$attributeSetService : AttributeSetService

loadCsvMapping()

private loadCsvMapping(string $relativePath, array<string|int, mixed> $requiredIndexes, callable $mapFunction[, string $delimiter = ',' ]) : array<string|int, mixed>
Parameters
$relativePath : string
$requiredIndexes : array<string|int, mixed>
$mapFunction : callable
$delimiter : string = ','
Return values
array<string|int, mixed>

        
On this page

Search results