rex_extension_point_console_shutdown
extends rex_extension_point
in package
Extension Point Class.
Tags
Table of Contents
Constants
- NAME = 'CONSOLE_SHUTDOWN'
Methods
- __construct() : mixed
- getCommand() : Command
- getExitCode() : int
- getInput() : InputInterface
- getName() : string
- Returns the name.
- getOutput() : OutputInterface
- getParam() : mixed
- Returns the param for the given key.
- getParams() : array<string, mixed>
- Returns all params.
- getSubject() : T
- Returns the subject.
- hasParam() : bool
- Returns whether the given param exists.
- isReadonly() : bool
- Returns whether the extension point is readonly.
- setExtensionParams() : void
- Sets the specific params for the next extension.
- setParam() : void
- Sets a param.
- setSubject() : void
- Sets the subject.
Constants
NAME
public
mixed
NAME
= 'CONSOLE_SHUTDOWN'
Methods
__construct()
public
__construct(Command $command, InputInterface $input, OutputInterface $output, int $exitCode) : mixed
Parameters
- $command : Command
- $input : InputInterface
- $output : OutputInterface
- $exitCode : int
getCommand()
public
getCommand() : Command
Return values
CommandgetExitCode()
public
getExitCode() : int
Return values
intgetInput()
public
getInput() : InputInterface
Return values
InputInterfacegetName()
Returns the name.
public
getName() : string
Return values
stringgetOutput()
public
getOutput() : OutputInterface
Return values
OutputInterfacegetParam()
Returns the param for the given key.
public
getParam(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
getParams()
Returns all params.
public
getParams() : array<string, mixed>
Return values
array<string, mixed>getSubject()
Returns the subject.
public
getSubject() : T
Return values
ThasParam()
Returns whether the given param exists.
public
hasParam(string $key) : bool
Parameters
- $key : string
Return values
boolisReadonly()
Returns whether the extension point is readonly.
public
isReadonly() : bool
Return values
boolsetExtensionParams()
Sets the specific params for the next extension.
public
setExtensionParams(array<string, mixed> $params) : void
Parameters
- $params : array<string, mixed>
setParam()
Sets a param.
public
setParam(string $key, mixed $value) : void
Parameters
- $key : string
- $value : mixed
Tags
setSubject()
Sets the subject.
public
setSubject(T $subject) : void
Parameters
- $subject : T