\phpDocumentor\ParserFlySystemFactory

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
createAdapter()
formatDsn()
$mountManager
N/A

Properties

$mountManager

$mountManager : \League\Flysystem\MountManager

Type

\League\Flysystem\MountManager —

Methods

__construct()

__construct(\League\Flysystem\MountManager  $mountManager) : mixed

Parameters

\League\Flysystem\MountManager $mountManager

Returns

mixed —

create()

create(\phpDocumentor\Dsn  $dsn) : \League\Flysystem\Filesystem

Returns a Filesystem instance based on the scheme of the provided Dsn

Parameters

\phpDocumentor\Dsn $dsn

Returns

\League\Flysystem\Filesystem —

createAdapter()

createAdapter(\phpDocumentor\Dsn  $dsn) : \League\Flysystem\AdapterInterface

Parameters

\phpDocumentor\Dsn $dsn

Returns

\League\Flysystem\AdapterInterface —

formatDsn()

formatDsn(\phpDocumentor\Dsn  $dsn) : string

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

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

\phpDocumentor\Dsn $dsn

Returns

string —