Application extends Application implements HasDefinitionsInterface Uses HasDefinitionsTrait
Interfaces, Classes and Traits
Table of Contents
- $BeforeCommand : mixed
- $commandDefinitions : mixed
- $defaultCommandName : mixed
- $infos : mixed
- $noCommandsMessage : mixed
- command() : Application
- Just cast to Application to be usable in fluent interface
- default() : Application
- definitionsToCommands() : array<string|int, mixed>
- dumpCommandDefinitions() : Application
- dumpCommands() : Application
- getDefaultCommandName() : string|null
- getLongVersion() : mixed
- Removes default app name output
- getNoCommandsMessage() : string|null
- group() : Application
- Just cast to Application to be usable in fluent interface
- infos() : mixed
- noCommandAvailable() : Application
- Just cast to Application to be usable in fluent interface
- run() : mixed
- runBefore() : Application
- printCliHeader() : void
Properties
$BeforeCommand
protected
mixed
$BeforeCommand
$commandDefinitions
protected
mixed
$commandDefinitions
= []
$defaultCommandName
protected
mixed
$defaultCommandName
$infos
protected
mixed
$infos
= []
$noCommandsMessage
protected
mixed
$noCommandsMessage
Methods
command()
Just cast to Application to be usable in fluent interface
public
command(string $name, mixed $Command, string $description) : Application
Parameters
- $name : string
- $Command : mixed
- $description : string
Return values
Application —default()
public
default(string $name) : Application
Parameters
- $name : string
Return values
Application —definitionsToCommands()
public
definitionsToCommands(Application $app[, Command|null $parentCommand = null ]) : array<string|int, mixed>
Parameters
- $app : Application
- $parentCommand : Command|null = null
Return values
array<string|int, mixed> —dumpCommandDefinitions()
public
dumpCommandDefinitions() : Application
Return values
Application —dumpCommands()
public
dumpCommands() : Application
Return values
Application —getDefaultCommandName()
public
getDefaultCommandName() : string|null
Return values
string|null —getLongVersion()
Removes default app name output
public
getLongVersion() : mixed
Return values
mixed —getNoCommandsMessage()
public
getNoCommandsMessage() : string|null
Return values
string|null —group()
Just cast to Application to be usable in fluent interface
public
group(string $name, string $description, callable $callback) : Application
Parameters
- $name : string
- $description : string
- $callback : callable
Return values
Application —infos()
public
infos(array<string|int, mixed> $infos) : mixed
Parameters
- $infos : array<string|int, mixed>
Return values
mixed —noCommandAvailable()
Just cast to Application to be usable in fluent interface
public
noCommandAvailable(string $message) : Application
Parameters
- $message : string
Return values
Application —run()
public
run([InputInterface $input = null ][, OutputInterface $output = null ]) : mixed
Parameters
- $input : InputInterface = null
- $output : OutputInterface = null
Return values
mixed —runBefore()
public
runBefore(string $Command) : Application
Parameters
- $Command : string
Return values
Application —printCliHeader()
private
printCliHeader() : void