%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-wappspector/src/
Upload File :
Create Path :
Current File : //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);
    }
}

Zerion Mini Shell 1.0