DeleteCartsCommand extends Command
Table of Contents
$defaultName | ||
---|---|---|
$container | ContainerInterface | |
$io | SymfonyStyle | |
$locale | string | |
$timezone | DateTimeZone | |
$formatter | IntlDateFormatter | |
$entityManager | EntityManagerInterface | |
$cartRepository | CartRepository | |
__construct() | mixed | |
configure() | mixed | |
interact() | mixed | |
initialize() | mixed | |
execute() | mixed | |
deleteCarts() | mixed | |
createIntlFormatter() | mixed |
Properties
$defaultName
protected
static mixed
$defaultName
= 'eccube:delete-carts'
$container
protected
ContainerInterface
$container
$io
protected
SymfonyStyle
$io
$locale
protected
string
$locale
$timezone
protected
DateTimeZone
$timezone
$formatter
protected
IntlDateFormatter
$formatter
$entityManager
protected
EntityManagerInterface
$entityManager
$cartRepository
private
CartRepository
$cartRepository
Methods
__construct()
public
__construct(
$container :
ContainerInterface
, $entityManager :
EntityManagerInterface
, $cartRepository :
CartRepository
)
: mixed
Parameters
- $container : ContainerInterface
- $entityManager : EntityManagerInterface
- $cartRepository : CartRepository
Return values
mixedconfigure()
protected
configure(
)
: mixed
Return values
mixedinteract()
protected
interact(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixedinitialize()
protected
initialize(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixedexecute()
protected
execute(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixeddeleteCarts()
protected
deleteCarts(
$dateTime :
DateTime
)
: mixed
Parameters
- $dateTime : DateTime
Return values
mixedcreateIntlFormatter()
protected
createIntlFormatter(
)
: mixed