Logidav Docs

MergeLowestPriceCsvCommand extends ContainerAwareCommand
in package
uses LockableTrait

Table of Contents

Methods

configure()  : mixed
execute()  : mixed
findHeaderIndex()  : int|null
mergeFile()  : void
parsePrice()  : float|null

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface

findHeaderIndex()

private findHeaderIndex(array<string|int, mixed> $normalizedHeaders, array<string|int, mixed> $candidates) : int|null
Parameters
$normalizedHeaders : array<string|int, mixed>
$candidates : array<string|int, mixed>
Return values
int|null

mergeFile()

private mergeFile(string $path, array<string|int, mixed> &$map, OutputInterface $output) : void
Parameters
$path : string
$map : array<string|int, mixed>
$output : OutputInterface

        
On this page

Search results