Constants
extends BaseConsole
in package
Module CLI.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Class constructor.
- configure() : void
- {@inheritDoc}
- execute() : int
- {@inheritDoc}
- convertConstantValueString() : string
- Convert constant value to string.
- executeAllConstants() : mixed
- Display all constants.
- executeSpecificConstantGroup() : mixed
- Display specific constant group.
- executeSpecificConstantName() : mixed
- Display specific constant name.
Properties
$Container
protected
Container
$Container
Methods
__construct()
Class constructor.
public
__construct([mixed $name = null ][, Container $Container = null ]) : mixed
Parameters
- $name : mixed = null
- $Container : Container = null
-
The DI container class.
configure()
{@inheritDoc}
protected
configure() : void
execute()
{@inheritDoc}
protected
execute(InputInterface $Input, OutputInterface $Output) : int
Parameters
- $Input : InputInterface
- $Output : OutputInterface
Return values
intconvertConstantValueString()
Convert constant value to string.
private
convertConstantValueString(mixed $constantValue) : string
Parameters
- $constantValue : mixed
Return values
stringexecuteAllConstants()
Display all constants.
private
executeAllConstants(InputInterface $Input, OutputInterface $Output) : mixed
Parameters
- $Input : InputInterface
- $Output : OutputInterface
executeSpecificConstantGroup()
Display specific constant group.
private
executeSpecificConstantGroup(InputInterface $Input, OutputInterface $Output, string $optionGroup) : mixed
Parameters
- $Input : InputInterface
- $Output : OutputInterface
- $optionGroup : string
executeSpecificConstantName()
Display specific constant name.
private
executeSpecificConstantName(InputInterface $Input, OutputInterface $Output, string $optionName) : mixed
Parameters
- $Input : InputInterface
- $Output : OutputInterface
- $optionName : string