int size(string $path) Get the file size of a given file. Parameters string $path Return Value int
void setVisibility(string $path, string $visibility) Set the visibility for the given path. Parameters string $path string $visibility Return Value void
Collection class Collection extends Collection implements QueueableCollection (View source) Traits Macroable
string url(string $path) Get the URL for the file at the given path. Parameters string $path Return Value string
bool makeDirectory(string $path) Create a directory. Parameters string $path Return Value bool
int prepend(string $path, string $data) Prepend to a file. Parameters string $path string $data Return Value int
bool put(string $path, string|resource $contents, string $visibility = null) Write the contents of a file. Parameters string $path string|resource $contents string $visibility Return Value bool
int lastModified(string $path) Get the file's last modification time. Parameters string $path Return Value int
string getVisibility(string $path) Get the visibility for the given path. Parameters string $path Return Value string
bool move(string $from, string $to) Move a file to a new location. Parameters string $from string $to Return Value bool
Page 851 of 996