F::read PHP Method

read() public static method

$content = f::read('test.txt'); i.e. content is hello $content = f::read('text.txt', 'json'); returns an array with the parsed content
public static read ( string $file ) : mixed
$file string The path for the file
return mixed
    public static function read($file)
    {
        return @file_get_contents($file);
    }