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
NB_GROUP
public
mixed
NB_GROUP
= 25
STOCK_PLUS
public
mixed
STOCK_PLUS
= ['En_Stock', '1_semaines', '2_semaines', '3_semaines', '4_semaines']
Properties
$attributeService
private
mixed
$attributeService
$attributeSetService
private
mixed
$attributeSetService
$container
private
mixed
$container
$entityManager
private
EntityManagerInterface
$entityManager
$manufacturerService
private
mixed
$manufacturerService
$mzProductService
private
mixed
$mzProductService
$newProductService
private
mixed
$newProductService
$output
private
mixed
$output
$productService
private
mixed
$productService
$request
private
mixed
$request
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
consolidateDimensions()
public
consolidateDimensions(mixed $features) : mixed
Parameters
- $features : mixed
createNewProduct()
public
createNewProduct(mixed $products, mixed $name[, mixed $consoleOutput = null ]) : mixed
Parameters
- $products : mixed
- $name : mixed
- $consoleOutput : mixed = null
Tags
configure()
Configure command
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
int|void|nullgetOccurenceTittre()
private
getOccurenceTittre(string $titre) : mixed
Parameters
- $titre : string