Menu

## CallsCommands

CallsCommands.php : 11

### Table of Contents

#### Methods

call() : int
  Call another console command.
callSilent() : int
  Call another console command without output.
callSilently() : int
  Call another console command without output.
context() : array<string|int, mixed>
  Get all of the context passed to the command.
createInputFromArguments() : ArrayInput
  Create an input instance from the given arguments.
resolveCommand() : Command
  Resolve the console command instance for the given command.
runCommand() : int
  Run the given the console command.

### Methods

#### call()

CallsCommands.php : 28

Call another console command.

`public call(string|Command $command[, array<string|int, mixed> $arguments = [] ]) : int`

##### Parameters

$command : string|Command
$arguments : array<string|int, mixed> = []

##### Return values

int

#### callSilent()

CallsCommands.php : 40

Call another console command without output.

`public callSilent(Command|string $command[, array<string|int, mixed> $arguments = [] ]) : int`

##### Parameters

$command : Command|string
$arguments : array<string|int, mixed> = []

##### Return values

int

#### callSilently()

CallsCommands.php : 52

Call another console command without output.

`public callSilently(string|Command $command[, array<string|int, mixed> $arguments = [] ]) : int`

##### Parameters

$command : string|Command
$arguments : array<string|int, mixed> = []

##### Return values

int

#### context()

CallsCommands.php : 99

Get all of the context passed to the command.

`protected context() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

#### createInputFromArguments()

CallsCommands.php : 85

Create an input instance from the given arguments.

`protected createInputFromArguments(array<string|int, mixed> $arguments) : ArrayInput`

##### Parameters

$arguments : array<string|int, mixed>

##### Return values

ArrayInput

#### resolveCommand()

CallsCommands.php : 19

Resolve the console command instance for the given command.

`protected abstract resolveCommand(string|Command $command) : Command`

##### Parameters

$command : string|Command

##### Return values

Command

#### runCommand()

CallsCommands.php : 66

Run the given the console command.

`protected runCommand(Command|string $command, array<string|int, mixed> $arguments, OutputInterface $output) : int`

##### Parameters

$command : Command|string
$arguments : array<string|int, mixed>
$output : OutputInterface

##### Tags

throws
  ExceptionInterface

##### Return values

int

## Search results