class ReplCommand extends AbstractCommand (View source)

Traits

Properties

protected Setting $setting

Store dirname

from  AbstractCommand
protected array $namespaces

The application namespace

from  AbstractCommand
protected Argument $arg

The Arg Option instance

from  AbstractCommand

Methods

void
throwFailsCommand(string $message, string|null $command = null)

Throw fails command

void
__construct(Setting $setting, Argument $arg)

AbstractCommand constructor

void
run()

Launch the REPL console

Details

protected void throwFailsCommand(string $message, string|null $command = null)

Throw fails command

Parameters

string $message
string|null $command

Return Value

void

Exceptions

ErrorException

void __construct(Setting $setting, Argument $arg)

AbstractCommand constructor

Parameters

Setting $setting
Argument $arg

Return Value

void

void run()

Launch the REPL console

Return Value

void