class DeleteFiles extends Action

Properties

protected bool $pretending

Determine if action should only be pretended.

from  Action

Methods

__construct(Filesystem $filesystem, Factory|null $components = null, string|null $workingPath = null, bool $confirmation = false, bool $pretending = false)

Construct a new action instance.

void
handle(iterable $files)

Handle the action.

Details

at line 25
__construct(Filesystem $filesystem, Factory|null $components = null, string|null $workingPath = null, bool $confirmation = false, bool $pretending = false)

Construct a new action instance.

Parameters

Filesystem $filesystem
Factory|null $components
string|null $workingPath
bool $confirmation
bool $pretending

at line 40
void handle(iterable $files)

Handle the action.

Parameters

iterable $files

Return Value

void