SessionGcCommand
Extends AbstractCommand Implements ContainerAwareInterfaceConsole command for performing session garbage collection
| since |
4.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
configure
Configure the command.
configure() :
| since |
4.0.0 |
|---|
Response
void
doExecute
Internal function to execute the command.
doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) :
| since |
4.0.0 |
|---|
Arguments
- input
InputInterfaceThe input to inject into the command.- output
OutputInterfaceThe output to inject into the command.
Response
intThe command exit code
getSessionService
Get the session service for the requested application.
getSessionService( application) : \Joomla\Session\SessionInterface
| since |
4.0.0 |
|---|
Arguments
- application
stringThe application session service to retrieve
Response
SessionInterface
Properties
defaultName
The default command name
static
| since |
4.0.0 |
|---|
Type(s)
string