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