KMP PHP API Reference

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
string

execute()

Execute cache garbage collection.

public execute(Arguments $args, ConsoleIo $io) : int|null
Parameters
$args : Arguments

Arguments

$io : ConsoleIo

Console IO

Return values
int|null

buildOptionParser()

Configure options.

protected buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
$parser : ConsoleOptionParser

Option parser

Return values
ConsoleOptionParser
On this page

Search results