laravel/laravel — Issue #188: File::get() throws exception if file does not exist?
Author: JasonZStanley
Created: 2011-12-01 07:30:10+00:00
State: open

This is up to you if you want to call it a bug or a feature request.

I was surprised to find that File::get() doesn't actually check to see if the file exists before it goes looking for it. A more expected and useful action would be to return False if the file does not exist or isn't readable. Then return a string if it is.