Console Class

Aurora\Console Namespace

Traits


Properties

commands

Commands array

private $commands = []: array

Methods

command

Add a command to the Console

Parameters

  • string $handler — The handler class name, must extend the Command class

Return Value

  • $this

Signature

public function command(string $handler)

call

Call a console command

Parameters

  • string $signature — Command signature
  • array $params — Array of arguments

Return Value

  • mixed

Signature

public function call(string $signature, array $params = [])

Go to top