\League\FlysystemHandler

Summary

Methods
Properties
Constants
__construct()
isDir()
isFile()
getType()
setFilesystem()
getFilesystem()
setPath()
getPath()
__call()
No public properties found
No constants found
No protected methods found
$path
$filesystem
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path : string

Type

string

Methods

__construct()

__construct(\League\Flysystem\FilesystemInterface  $filesystem = null, string  $path = null) 

Constructor.

Parameters

\League\Flysystem\FilesystemInterface $filesystem
string $path

isDir()

isDir() : boolean

Check whether the entree is a directory.

Returns

boolean

isFile()

isFile() : boolean

Check whether the entree is a file.

Returns

boolean

getType()

getType() : string

Retrieve the entree type (file|dir).

Returns

string —

file or dir

setFilesystem()

setFilesystem(\League\Flysystem\FilesystemInterface  $filesystem) : $this

Set the Filesystem object.

Parameters

\League\Flysystem\FilesystemInterface $filesystem

Returns

$this

setPath()

setPath(string  $path) : $this

Set the entree path.

Parameters

string $path

Returns

$this

getPath()

getPath() : string

Retrieve the entree path.

Returns

string —

path

__call()

__call(string  $method, array  $arguments) : mixed

Plugins pass-through.

Parameters

string $method
array $arguments

Returns

mixed