\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) : mixed

Constructor.

Parameters

\League\Flysystem\FilesystemInterface $filesystem
string $path

Returns

mixed —

isDir()

isDir() : bool

Check whether the entree is a directory.

Returns

bool —

isFile()

isFile() : bool

Check whether the entree is a file.

Returns

bool —

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 —

getFilesystem()

getFilesystem() : \League\Flysystem\FilesystemInterface

Retrieve the Filesystem object.

Returns

\League\Flysystem\FilesystemInterface —

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 —