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

\Concrete\Core\Service\Configuration\StorageInterface::canRead()

string read()

Read the configuration.

Return Value

string

Exceptions

Exception Throws an exception in case of errors.

See also

\Concrete\Core\Service\Configuration\StorageInterface::read()

bool canWrite()

Determine whether this configuration can be written.

Return Value

bool

See also

\Concrete\Core\Service\Configuration\StorageInterface::canWrite()

write(string $configuration)

Read the configuration.

Parameters

string $configuration

Exceptions

Exception Throws an exception in case of errors.

See also

\Concrete\Core\Service\Configuration\StorageInterface::write()