Class

eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory\LocalAdapterFactory

class LocalAdapterFactory

Builds a Local Flysystem Adapter instance with the given permissions configuration.

Methods

Local build(string $rootDir, int $filesPermissions, int $directoriesPermissions)

Details

at line 23
public Local build(string $rootDir, int $filesPermissions, int $directoriesPermissions)

Parameters

string $rootDir
int $filesPermissions Permissions used when creating files. Example: 0640.
int $directoriesPermissions Permissions when creating directories. Example: 0750.

Return Value

Local