SplitProductCommand
extends ContainerAwareCommand
in package
Table of Contents
Properties
- $connection : Connection
- $entityManager : EntityManagerInterface
- $name : null
- $newProductService : NewProductService
Methods
- __construct() : mixed
- CreateProductCommand constructor.
- configure() : mixed
- execute() : int|void|null
Properties
$connection
protected
Connection
$connection
$entityManager
private
EntityManagerInterface
$entityManager
$name
private
null
$name
$newProductService
private
NewProductService
$newProductService
Methods
__construct()
CreateProductCommand constructor.
public
__construct([null $name = null ][, EntityManagerInterface|null $entityManager = null ], NewProductService $newProductService) : mixed
Parameters
- $name : null = null
- $entityManager : EntityManagerInterface|null = null
- $newProductService : NewProductService
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int|void|null
Parameters
- $input : InputInterface
- $output : OutputInterface