Sindbad~EG File Manager

Current Path : /proc/self/root/opt/cpanel/ea-wappspector/src/
Upload File :
Current File : //proc/self/root/opt/cpanel/ea-wappspector/src/FileSystemFactory.php

<?php

namespace Plesk\Wappspector;

use League\Flysystem\Filesystem;
use League\Flysystem\Local\LocalFilesystemAdapter;

class FileSystemFactory
{
    public function __invoke(string $path): Filesystem
    {
        $adapter = new LocalFilesystemAdapter($path, null, LOCK_EX, LocalFilesystemAdapter::SKIP_LINKS);

        return new Filesystem($adapter);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists