phpDocumentor

Application extends Application
in package

Tags

Table of Contents

__construct()  : mixed
getLongVersion()  : string
Returns the long version of the application.
getCommandName()  : string|null
getDefaultInputDefinition()  : InputDefinition
looksLikeACommandName()  : bool
Only interpret the first argument as a potential command name if it is set and less than 100 characters.

Methods

__construct()

public __construct(KernelInterface $kernel) : mixed
Parameters
$kernel : KernelInterface
Tags
Return values
mixed

getLongVersion()

Returns the long version of the application.

public getLongVersion() : string
Tags
Return values
string

The long application version

getCommandName()

protected getCommandName(InputInterface $input) : string|null
Parameters
$input : InputInterface
Tags
Return values
string|null

getDefaultInputDefinition()

protected getDefaultInputDefinition() : InputDefinition
Tags
Return values
InputDefinition

looksLikeACommandName()

Only interpret the first argument as a potential command name if it is set and less than 100 characters.

private looksLikeACommandName(string|null $argument) : bool

Anything above 255 characters will cause PHP warnings; and 100 should never occur anyway as a single command name.

Parameters
$argument : string|null
Tags
link
https://github.com/phpDocumentor/phpDocumentor/issues/3215
Return values
bool

        

Search results