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
$defaultName
protected
static mixed
$defaultName
= 'storage:cache_stats'
Methods
configure()
{@inheritdoc}
protected
configure() : mixed
Return values
mixed —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