RdbAdmin Module

Storage extends BaseConsole
in package

Storage CLI.

Tags
since
0.1

Table of Contents

Properties

$Container  : Container
$FileSystem  : FileSystem

Methods

__construct()  : mixed
Class constructor.
configure()  : mixed
{@inheritDoc}
execute()  : mixed
{@inheritDoc}
executeClear()  : void|null
Clear storage folder. (delete cache, logs folders.)
executeClearDelete()  : array<string|int, mixed>
Do clear target folder.
executeDelete()  : mixed
Delete folders and files.
executeList()  : mixed
List folders and files.
renderTableFiles()  : mixed
Render files to table.

Properties

Methods

__construct()

Class constructor.

public __construct([mixed $name = null ][, Container $Container = null ]) : mixed
Parameters
$name : mixed = null
$Container : Container = null

The DI container class.

configure()

{@inheritDoc}

protected configure() : mixed

execute()

{@inheritDoc}

protected execute(InputInterface $Input, OutputInterface $Output) : mixed
Parameters
$Input : InputInterface
$Output : OutputInterface

executeClear()

Clear storage folder. (delete cache, logs folders.)

private executeClear(InputInterface $Input, OutputInterface $Output) : void|null
Parameters
$Input : InputInterface
$Output : OutputInterface
Return values
void|null

executeClearDelete()

Do clear target folder.

private executeClearDelete([string $targetFolder = 'cache' ]) : array<string|int, mixed>
Parameters
$targetFolder : string = 'cache'

Target folder to clear.

Return values
array<string|int, mixed>

Return deleted files and folders list.

executeDelete()

Delete folders and files.

private executeDelete(InputInterface $Input, OutputInterface $Output) : mixed
Parameters
$Input : InputInterface
$Output : OutputInterface

executeList()

List folders and files.

private executeList(InputInterface $Input, OutputInterface $Output) : mixed
Parameters
$Input : InputInterface
$Output : OutputInterface

renderTableFiles()

Render files to table.

private renderTableFiles(OutputInterface $Output, string $tableHead, array<string|int, mixed> $listFiles) : mixed
Parameters
$Output : OutputInterface

Symfony OutputInterface class.

$tableHead : string

Table header text.

$listFiles : array<string|int, mixed>

The files list as array.


        
On this page

Search results