Cleaner
extends Base
in package
Cleaner cli class.
Table of Contents
- $helpMode : bool
- $methods : array<string|int, string>
- $moduleName : string
- $cli : Cli
- $climate : CLImate
- __construct() : mixed
- Construct.
- cacheData() : void
- Clear cache data.
- cacheFiles() : void
- Clear cache files.
- logs() : void
- Delete all logs.
- session() : void
- Delete all session.
Properties
$helpMode
public
bool
$helpMode
= false
Show only help info
$methods
public
array<string|int, string>
$methods
= ['logs' => 'Delete all logs', 'session' => 'Delete all sessions', 'cacheData' => 'Cache data', 'cacheFiles' => 'Cache files']
Methods list
$moduleName
public
string
$moduleName
= 'Cleaner'
Module Name
$cli
protected
Cli
$cli
Cli instance.
$climate
protected
CLImate
$climate
CLImate instance.
Methods
__construct()
Construct.
public
__construct(Cli $cli) : mixed
Parameters
- $cli : Cli
Return values
mixed —cacheData()
Clear cache data.
public
cacheData() : void
Return values
void —cacheFiles()
Clear cache files.
public
cacheFiles() : void
Return values
void —logs()
Delete all logs.
public
logs() : void
Return values
void —session()
Delete all session.
public
session() : void