Filesystem::moveDirectory()

bool moveDirectory(string $from, string $to, bool $overwrite = false) Move a directory. Parameters string $from string $to bool $overwrite Return Value bool

Filesystem::move()

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

Filesystem::move()

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

Filesystem::mimeType()

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

Filesystem::makeDirectory()

bool makeDirectory(string $path, int $mode = 493, bool $recursive = false, bool $force = false) Create a directory. Parameters string $path int $mode bool $recursive bool $force Return Value bool

Filesystem::makeDirectory()

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

Filesystem::macro()

static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void

Filesystem::link()

void link(string $target, string $link) Create a hard link to the target file or directory. Parameters string $target string $link Return Value void

Filesystem::lastModified()

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

Filesystem::lastModified()

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