Legend of the Green Dragon

StorageCacheStatsCommand extends Command Uses FormatTrait

Show stats of cache directory.

Table of Contents

$defaultName  : mixed
configure()  : mixed
{@inheritdoc}
execute()  : int
{@inheritdoc}
formatFileSize()  : string
formatPath()  : string

Properties

Methods

execute()

{@inheritdoc}

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

formatFileSize()

protected static formatFileSize(string $path) : string
Parameters
$path : string
Return values
string

formatPath()

protected static formatPath(string $path, string $baseDir) : string
Parameters
$path : string
$baseDir : string
Return values
string

Search results