Logidav Docs

SyncProductsStockCommand extends ContainerAwareCommand
in package

Table of Contents

Properties

$asirProductService  : ProductService
$path  : mixed
$sftpPort  : mixed
$sftpServer  : mixed
$sftpUserName  : mixed
$sftpUserPass  : mixed

Methods

__construct()  : mixed
configure()  : mixed
Configure command
execute()  : mixed
checkVisibility()  : int
getFileName()  : string
moveFileRemotely()  : bool

Properties

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface
Tags
throws
ContainerExceptionInterface
throws
NotFoundExceptionInterface

getFileName()

private getFileName(mixed $file, mixed $filesArray) : string
Parameters
$file : mixed
$filesArray : mixed
Return values
string

moveFileRemotely()

private moveFileRemotely(mixed $sftp, mixed $sourcePath, mixed $targetPath) : bool
Parameters
$sftp : mixed
$sourcePath : mixed
$targetPath : mixed
Return values
bool

        
On this page

Search results