class ConfigCommand extends Command (View source)

Constants

RETURN_CODE_ON_FAILURE

The return code we should return when an exception is thrown while running the command.

OPERATION_GET

OPERATION_SET

Properties

protected Repository $repository

Methods

run(InputInterface $input, OutputInterface $output)

{@inheritdoc}

from  Command
writeError(OutputInterface $output, Exception|Throwable $error)

Write an exception.

from  Command
addEnvOption()

Add the "env" option to the command options.

from  Command
configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

string[]
getAllowedOperations()

No description

string
serialize(mixed $value)

No description

mixed
unserialize(string $value)

No description

Details

run(InputInterface $input, OutputInterface $output)

{@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output

protected writeError(OutputInterface $output, Exception|Throwable $error)

Write an exception.

Parameters

OutputInterface $output
Exception|Throwable $error

protected Command addEnvOption()

Add the "env" option to the command options.

Return Value

Command

protected configure()

No description

protected execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

protected string[] getAllowedOperations()

No description

Return Value

string[]

protected string serialize(mixed $value)

No description

Parameters

mixed $value

Return Value

string

Exceptions

Exception

protected mixed unserialize(string $value)

No description

Parameters

string $value

Return Value

mixed

Exceptions

Exception