Documentation

Application extends Application implements HasDefinitionsInterface Uses HasDefinitionsTrait

Interfaces, Classes and Traits

HasDefinitionsInterface

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

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 —

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 —

printCliHeader()

private printCliHeader() : void
Return values
void —

Search results