CreateAppApplication
extends Application
in package
Tags
Table of Contents
- $createAppCmd : mixed
- getDefinition() : mixed
- Overridden so that the application doesn't expect the command name to be the first argument.
- initCreateAppCommand() : mixed
- getCommandName() : string
- Gets the name of the command based on input.
- getDefaultCommands() : array<string|int, mixed>
- Gets the default commands that should always be available.
Properties
$createAppCmd
protected
mixed
$createAppCmd
Tags
Methods
getDefinition()
Overridden so that the application doesn't expect the command name to be the first argument.
public
getDefinition() : mixed
Tags
Return values
mixed —initCreateAppCommand()
public
initCreateAppCommand(mixed $jelixPath, mixed $jelixAsComposerPackage, mixed $vendorPath, mixed $defaultRule[, mixed $forbiddenRule = '' ]) : mixed
Parameters
- $jelixPath : mixed
- $jelixAsComposerPackage : mixed
- $vendorPath : mixed
- $defaultRule : mixed
- $forbiddenRule : mixed = ''
Tags
Return values
mixed —getCommandName()
Gets the name of the command based on input.
protected
getCommandName(InputInterface $input) : string
Parameters
- $input : InputInterface
-
The input interface
Tags
Return values
string —The command name
getDefaultCommands()
Gets the default commands that should always be available.
protected
getDefaultCommands() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —An array of default Command instances