App\services\Storage::get PHP 메소드

get() 공개 정적인 메소드

Read a file and return bin data
public static get ( string $filename ) : string | boolean
$filename string
리턴 string | boolean
    public static function get($filename)
    {
        $result = file_get_contents($filename, 'r');
        if (false === $result) {
            throw new \Exception("Failed to read {$filename}.");
        }
        return $result;
    }