Back to Joomla project (class list)

Class SessionMetadataGcCommand - list of methods

Console command for performing session metadata garbage collection
Package: Joomla\CMS\Console
Copyright: (C) 2005 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Console/SessionMetadataGcCommand.php
Project: Joomla

Method Summary

public
(\Joomla\Session\SessionInterface $session, \Joomla\CMS\Session\MetadataManager $metadataManager)

Instantiate the command.
Parameters
  • \Joomla\Session\SessionInterface $session The session object.
  • \Joomla\CMS\Session\MetadataManager $metadataManager The session metadata manager.
Since
  • 4.0.0
Show source code of this method: __construct Source Code

protected int
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)

Internal function to execute the command.
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input The input to inject into the command.
  • \Symfony\Component\Console\Output\OutputInterface $output The output to inject into the command.
Returns
  • int The command exit code
Since
  • 4.0.0
Show source code of this method: doExecute Source Code

protected void
()

Configure the command.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: configure Source Code

Properties Summary

protected static string
$defaultName
The default command name
Since
  • 4.0.0
private \Joomla\CMS\Session\MetadataManager
$metadataManager
The session metadata manager.
Since
  • 4.0.0
private \Joomla\Session\SessionInterface
$session
The session object.
Since
  • 4.0.0

Tags Summary

Since
4.0.0