FilesystemAdapter::move()

bool move(string $from, string $to) Move a file to a new location. Parameters string $from string $to Return Value bool

FilesystemAdapter::mimeType()

string|false mimeType(string $path) Get the mime-type of a given file. Parameters string $path Return Value string|false

FilesystemAdapter::makeDirectory()

bool makeDirectory(string $path) Create a directory. Parameters string $path Return Value bool

FilesystemAdapter::lastModified()

int lastModified(string $path) Get the file's last modification time. Parameters string $path Return Value int

FilesystemAdapter::getVisibility()

string getVisibility(string $path) Get the visibility for the given path. Parameters string $path Return Value string

FilesystemAdapter::getDriver()

FilesystemInterface getDriver() Get the Flysystem driver. Return Value FilesystemInterface

FilesystemAdapter::get()

string get(string $path) Get the contents of a file. Parameters string $path Return Value string Exceptions FileNotFoundException

FilesystemAdapter::files()

array files(string|null $directory = null, bool $recursive = false) Get an array of all files in a directory. Parameters string|null $directory bool $recursive Return Value array

FilesystemAdapter::exists()

bool exists(string $path) Determine if a file exists. Parameters string $path Return Value bool

FilesystemAdapter::directories()

array directories(string|null $directory = null, bool $recursive = false) Get all of the directories within a given directory. Parameters string|null $directory bool $recursive Return Value array