EnsureDirectoryExists
class EnsureDirectoryExists 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 $directories)
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.
at line 40
void
handle(iterable $directories)
Handle the action.