SessionMetadataGcCommand
Extends 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) :
since |
4.0.0 |
---|
Arguments
- session
SessionInterface
The session object.- metadataManager
MetadataManager
The session metadata manager.
Response
mixed
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
InputInterface
The input to inject into the command.- output
OutputInterface
The output to inject into the command.
Response
int
The command exit code
Properties
defaultName
The default command name
static
since |
4.0.0 |
---|
Type(s)
string
metadataManager
The session metadata manager.
since |
4.0.0 |
---|
Type(s)
MetadataManager
session
The session object.
since |
4.0.0 |
---|
Type(s)
SessionInterface