class FileWriteableCheck implements EnvironmentCheck (View source)

Check that the given file is writable.

Properties

protected string $path

Methods

public
__construct(string $path)

No description

public
array
check()

No description

Details

__construct(string $path)

No description

Parameters

string $path

The full path. If a relative path, it will relative to the BASE_PATH.

array check()

No description

Return Value

array

Result with 'status' and 'message' keys.

Status is EnvironmentCheck::ERROR, EnvironmentCheck::WARNING, or EnvironmentCheck::OK.