BConnect POS - Reference PHP

ImportProductsCommand extends Command
in package

Attributes
#[AsCommand]
$name: 'app:import-products'
$description: 'Import products from an Excel file into the Product table'

Table of Contents

Properties

$categoryRepository  : CategoryRepository
$entityManager  : EntityManagerInterface
$userRepository  : UserRepository

Methods

__construct()  : mixed
execute()  : int
cleanNumber()  : float

Properties

Methods

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

cleanNumber()

private cleanNumber(mixed $value) : float
Parameters
$value : mixed
Return values
float
On this page

Search results