class ApacheStorage implements StorageInterface (View source)

Properties

protected Filesystem $filesystem

Methods

setFilesystem(Filesystem $filesystem)

Set the Filesystem to use.

Filesystem
getFilesystem()

Get the Filesystem to use.

string
getHTaccessFilename()

Return the full path name to the .htaccess file.

bool
canRead()

Determine whether the configuration can be read.

string
read()

Read the configuration.

bool
canWrite()

Determine whether this configuration can be written.

write(string $configuration)

Read the configuration.

Details

setFilesystem(Filesystem $filesystem)

Set the Filesystem to use.

Parameters

Filesystem $filesystem

Filesystem getFilesystem()

Get the Filesystem to use.

Return Value

Filesystem

protected string getHTaccessFilename()

Return the full path name to the .htaccess file.

Return Value

string

bool canRead()

Determine whether the configuration can be read.

Return Value

bool

See also

StorageInterface::canRead

string read()

Read the configuration.

Return Value

string

Exceptions

Exception

See also

StorageInterface::read

bool canWrite()

Determine whether this configuration can be written.

Return Value

bool

See also

StorageInterface::canWrite

write(string $configuration)

Read the configuration.

Parameters

string $configuration

Exceptions

Exception

See also

StorageInterface::write