src/File.php
public static function read($path)
  {
    $path = Path::clean($path);
    if ( !File::exists($path) ){
      return '';
    }
    return file_get_contents($path);
  }
public static function read($path)
  {
    $path = Path::clean($path);
    if ( !File::exists($path) ){
      return '';
    }
    return file_get_contents($path);
  }
public static function read ( $ path ) { $ path = Path :: clean ( $ path ) ; if ( ! File :: exists ( $ path ) ) { return '' ; } return file_get_contents ( $ path ) ; }
Read the contents of a file

@param   string    $path       The full file path
@return   string    File contents
@throws   Exception
Read the contents of a file