Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

LocalAdapterFactory.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory;
8
9 use League\Flysystem\Adapter\Local;
10
14 class LocalAdapterFactory
15 {
23 public function build($rootDir, $filesPermissions, $directoriesPermissions)
24 {
25 return new Local(
26 $rootDir,
27 LOCK_EX,
28 Local::DISALLOW_LINKS,
29 ['file' => ['public' => $filesPermissions], 'dir' => ['public' => $directoriesPermissions]]
30 );
31 }
32 }
eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory\LocalAdapterFactory
Builds a Local Flysystem Adapter instance with the given permissions configuration.
Definition: LocalAdapterFactory.php:15
eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory\LocalAdapterFactory\build
build($rootDir, $filesPermissions, $directoriesPermissions)
Definition: LocalAdapterFactory.php:23
eZ\Bundle\EzPublishIOBundle\DependencyInjection\Factory
Definition: LocalAdapterFactory.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.