php - Laravel Storaget get file contents -


i want know if following in code below how check if file exists e.g

{     $file = storage::disks('local')->get($file);     // test if $file exists } 

there's clear example in docs, if take look.

$exists = storage::disk('s3')->exists('file.jpg'); 

Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -