Documentation

CharacterRemoveCommand extends CharacterBaseCommand
in package

Resets the viewpoint of a given character.

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.
configure()  : mixed
execute()  : int
getCharacter()  : Character|null
getCharacterIdArgumentDefinition()  : InputArgument
namespaced()  : string

Properties

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

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Tags
inheritDoc
Return values
int

getCharacterIdArgumentDefinition()

protected getCharacterIdArgumentDefinition() : InputArgument
Return values
InputArgument

namespaced()

protected namespaced(string $command) : string
Parameters
$command : string
Return values
string

Search results