BaseCommand
extends Command
in package
Parent class for daenerys tool commands.
Table of Contents
- $game : Game
- $namespace : string|null
- __construct() : mixed
- Construct the command, using the provided Game.
- getCliLogger() : Logger
- Returns a cloned logger with a different context name.
- namespaced() : string
Properties
$game
protected
Game
$game
$namespace
protected
string|null
$namespace
= null
Methods
__construct()
Construct the command, using the provided Game.
public
__construct(Game $game) : mixed
Parameters
- $game : Game
Return values
mixed —getCliLogger()
Returns a cloned logger with a different context name.
public
getCliLogger() : Logger
Return values
Logger —namespaced()
protected
namespaced(string $command) : string
Parameters
- $command : string