ImageCacheGcCommand
extends Command
in package
Table of Contents
Methods
- defaultName() : string
- Get the default command name.
- execute() : int|null
- Execute cache garbage collection.
- buildOptionParser() : ConsoleOptionParser
- Configure options.
Methods
defaultName()
Get the default command name.
public
static defaultName() : string
Return values
stringexecute()
Execute cache garbage collection.
public
execute(Arguments $args, ConsoleIo $io) : int|null
Parameters
- $args : Arguments
-
Arguments
- $io : ConsoleIo
-
Console IO
Return values
int|nullbuildOptionParser()
Configure options.
protected
buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
- $parser : ConsoleOptionParser
-
Option parser