Documentation

FlySystemFactory
in package
implements FileSystemFactory

Table of Contents

Interfaces

FileSystemFactory
Interface for FileSystem factories.

Properties

$mountManager  : MountManager

Methods

__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

        
On this page

Search results