SessionMetadataGcCommand

Extends AbstractCommand

Console 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

SessionInterfaceThe session object.

metadataManager

MetadataManagerThe 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

InputInterfaceThe input to inject into the command.

output

OutputInterfaceThe output to inject into the command.

Response

intThe 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