AddProductsToSelectionCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
Table of Contents
Properties
- $productServices : ProductService
- $configService : object
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
- $productFeedDirPath : string
Methods
- __construct() : mixed
- ProductCommand constructor.
- addProductsToSelection() : void
- select Vidaxl product from xlsx
- checkFileForSelection() : string
- check if file selection Product exist
- configure() : mixed
- execute() : mixed
Properties
$productServices
protected
ProductService
$productServices
$configService
private
object
$configService
$container
private
ContainerInterface
$container
$entityManager
private
EntityManagerInterface
$entityManager
$productFeedDirPath
private
string
$productFeedDirPath
Methods
__construct()
ProductCommand constructor.
public
__construct([null $name = null ][, ProductService|null $productServices = null ], EntityManagerInterface $entityManager, ContainerInterface $container) : mixed
Parameters
- $name : null = null
- $productServices : ProductService|null = null
- $entityManager : EntityManagerInterface
- $container : ContainerInterface
addProductsToSelection()
select Vidaxl product from xlsx
public
addProductsToSelection() : void
checkFileForSelection()
check if file selection Product exist
public
checkFileForSelection() : string
Return values
stringconfigure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface