class WritableDirectories implements PreconditionInterface (View source)

Properties

protected Filesystem $fs

The Filesystem to be used to check directories.

Methods

__construct(Filesystem $fs)

Initializes the instance.

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

bool
isOptional()

Is this an optional precondition?

performCheck()

Get the precondition result.

Details

__construct(Filesystem $fs)

Initializes the instance.

Parameters

Filesystem $fs

the Filesystem to be used to check directories

string getName()

Get the precondition name.

Return Value

string

See also

PreconditionInterface::getName

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

See also

PreconditionInterface::getUniqueIdentifier

bool isOptional()

Is this an optional precondition?

Return Value

bool

See also

PreconditionInterface::isOptional

PreconditionResult performCheck()

Get the precondition result.