Flow PHP

Move

Read onlyYes
FinalYes

Intra-filesystem moves delegate to `Filesystem::mv` for server-side optimizations (local rename, S3 CopyObject + DeleteObject). Cross-filesystem moves stream-copy then remove the source and are NOT atomic: if the source removal fails after a successful write, the destination is present and the source remains; re-running `execute` on the same pair is idempotent.

Methods

__construct()  : mixed
execute()  : bool

Methods

execute()

public execute(Path $from, Path $to) : bool
Parameters
$from : Path
$to : Path
Return values
bool

        
On this page

Search results