\rex_extension_point_console_shutdown

Extension Point Class.

Summary

Methods
Properties
Constants
__construct()
getName()
setSubject()
getSubject()
setParam()
setExtensionParams()
hasParam()
getParam()
getParams()
isReadonly()
getCommand()
getInput()
getOutput()
getExitCode()
No public properties found
NAME
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

NAME

NAME = 'CONSOLE_SHUTDOWN'

Methods

__construct()

__construct(\Symfony\Component\Console\Command\Command  $command, \Symfony\Component\Console\Input\InputInterface  $input, \Symfony\Component\Console\Output\OutputInterface  $output, int  $exitCode) : mixed

Constructor.

Parameters

\Symfony\Component\Console\Command\Command $command
\Symfony\Component\Console\Input\InputInterface $input
\Symfony\Component\Console\Output\OutputInterface $output
int $exitCode

Returns

mixed —

getName()

getName() : string

Returns the name.

Returns

string —

setSubject()

setSubject(mixed  $subject) : mixed

Sets the subject.

Parameters

mixed $subject

Throws

\rex_exception

Returns

mixed —

getSubject()

getSubject() : mixed

Returns the subject.

Returns

mixed —

setParam()

setParam(string  $key, mixed  $value) : mixed

Sets a param.

Parameters

string $key
mixed $value

Throws

\rex_exception

Returns

mixed —

setExtensionParams()

setExtensionParams(array  $params) : mixed

Sets the specific params for the next extension.

Parameters

array $params

Returns

mixed —

hasParam()

hasParam(string  $key) : bool

Returns whether the given param exists.

Parameters

string $key

Returns

bool —

getParam()

getParam(string  $key, mixed  $default = null) : mixed

Returns the param for the given key.

Parameters

string $key
mixed $default

Returns

mixed —

getParams()

getParams() : array

Returns all params.

Returns

array —

isReadonly()

isReadonly() : bool

Returns whether the extension point is readonly.

Returns

bool —

getCommand()

getCommand() : \Symfony\Component\Console\Command\Command

Returns

\Symfony\Component\Console\Command\Command —

getInput()

getInput() : \Symfony\Component\Console\Input\InputInterface

Returns

\Symfony\Component\Console\Input\InputInterface —

getOutput()

getOutput() : \Symfony\Component\Console\Output\OutputInterface

Returns

\Symfony\Component\Console\Output\OutputInterface —

getExitCode()

getExitCode() : int

Returns

int —