Documentation

FlySystemFactory
in package
implements FileSystemFactory

Interfaces, Classes and Traits

FileSystemFactory
Interface for FileSystem factories.

Table of Contents

$mountManager  : MountManager
__construct()  : mixed
create()  : Filesystem
Returns a Filesystem instance based on the scheme of the provided Dsn
createAdapter()  : AdapterInterface
formatDsn()  : string
Removes file:/// scheme from the dsn when needed.

Properties

Methods

formatDsn()

Removes file:/// scheme from the dsn when needed.

private formatDsn(Dsn $dsn) : string

The local adapter of flysystem cannot handle the file:/// on all windows platforms. At the moment it is unsure why this is exactly happening this way but it seems that php on windows 10 is not able to handle streams properly while windows server is able to do this.

Github actions will NOT reproduce this behavior since they are running a server edition of windows.

Parameters
$dsn : Dsn
Return values
string

Search results