trait Illuminate / Console / Concerns / CallsCommands

CallsCommands

Methods

protected abstract

resolveCommand ( $command ) : Symfony\...\Command

Resolve the console command instance for the given command.

Parameters

  • $command Symfony\...\Command|string
public

call ( $command , array $arguments ) : int

Call another console command.

Parameters

  • $command Symfony\...\Command|string
  • $arguments array
public

callSilent ( $command , array $arguments ) : int

Call another console command without output.

Parameters

  • $command Symfony\...\Command|string
  • $arguments array
public

callSilently ( $command , array $arguments ) : int

Call another console command without output.

Parameters

  • $command Symfony\...\Command|string
  • $arguments array
protected

runCommand ( $command , array $arguments , Symfony\...\OutputInterface $output ) : int

Run the given the console command.

Parameters

  • $command Symfony\...\Command|string
  • $arguments array
  • $output Symfony\...\OutputInterface
protected

createInputFromArguments ( array $arguments ) : Symfony\...\ArrayInput

Create an input instance from the given arguments.

Parameters

  • $arguments array
protected

context ( ) : array

Get all of the context passed to the command.