SessionMetadataGcCommand
Extends \Joomla\Console\Command\AbstractCommandConsole command for performing session metadata garbage collection
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
__construct
Instantiate the command.
__construct(\Joomla\Session\SessionInterface session, \Joomla\CMS\Session\MetadataManager metadataManager) : mixed
since |
4.0.0 |
---|
Arguments
- session
\Joomla\Session\SessionInterface
The session object.- metadataManager
\Joomla\CMS\Session\MetadataManager
The session metadata manager.
Response
mixed
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
Properties
metadataManager
The session metadata manager.
since |
4.0.0 |
---|
Type(s)
\Joomla\CMS\Session\MetadataManager
session
The session object.
since |
4.0.0 |
---|
Type(s)
\Joomla\Session\SessionInterface