Logidav Docs

CreateNewProductFromSelectionCommand extends ContainerAwareCommand
in package
uses LockableTrait

Table of Contents

Constants

NB_GROUP  = 25
STOCK_PLUS  = ['En_Stock', '1_semaines', '2_semaines', '3_semaines', '4_semaines']

Properties

$attributeService  : mixed
$attributeSetService  : mixed
$container  : mixed
$entityManager  : EntityManagerInterface
$manufacturerService  : mixed
$mzProductService  : mixed
$newProductService  : mixed
$output  : mixed
$productService  : mixed
$request  : mixed

Methods

__construct()  : mixed
consolidateDimensions()  : mixed
createNewProduct()  : mixed
configure()  : mixed
Configure command
execute()  : int|void|null
getOccurenceTittre()  : mixed

Constants

Properties

Methods

__construct()

public __construct([mixed $name = null ][, EntityManagerInterface $entityManager = null ][, ProductService $productService = null ][, AttributeService $attributeService = null ][, ContainerInterface $container = null ][, NewProductService $newProductService = null ][, AttributeSetService $attributeSetService = null ][, ProductService $mzProductService = null ][, ManufacturerService $manufacturerService = null ]) : mixed
Parameters
$name : mixed = null
$entityManager : EntityManagerInterface = null
$productService : ProductService = null
$attributeService : AttributeService = null
$container : ContainerInterface = null
$newProductService : NewProductService = null
$attributeSetService : AttributeSetService = null
$mzProductService : ProductService = null
$manufacturerService : ManufacturerService = null

createNewProduct()

public createNewProduct(mixed $products, mixed $name[, mixed $consoleOutput = null ]) : mixed
Parameters
$products : mixed
$name : mixed
$consoleOutput : mixed = null
Tags
throws
DBALException

execute()

protected execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
$input : InputInterface
$output : OutputInterface
Tags
throws
Exception
Return values
int|void|null

        
On this page

Search results