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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -