Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Webmozart
Console
Api
Args
Format
ArgsFormatBuilder
__construct
Webmozart\Console\Api\Args\Format\ArgsFormatBuilder::__construct PHP Method
ArgsFormatBuilder Class Documentation
Mostra file
Open project: webmozart/console
__construct()
public
method
You can optionally pass a base format. The built format inherits all the arguments and options from the base format.
public
__construct
(
ArgsFormat
$baseFormat
= null )
$baseFormat
ArgsFormat
The base format.
public function __construct(ArgsFormat $baseFormat = null) { $this->baseFormat = $baseFormat; }
ArgsFormatBuilder
__construct
addArgument
addArguments
addCommandName
addCommandNames
addCommandOption
addCommandOptions
addOption
addOptions
getArgument
getArguments
getBaseFormat
getCommandNames
getCommandOption
getCommandOptions
getFormat
getOption
getOptions
hasArgument
hasArguments
hasCommandNames
hasCommandOption
hasCommandOptions
hasMultiValuedArgument
hasOption
hasOptionalArgument
hasOptions
hasRequiredArgument
setArguments
setCommandNames
setCommandOptions
setOptions