public static function getContent(string $path, $default = null)
    {
        if (is_file($path) && (($content = file_get_contents($path)) !== false)) {
            return $content;
        }
        
        return $default;
    }
public static function getContent(string $path, $default = null)
    {
        if (is_file($path) && (($content = file_get_contents($path)) !== false)) {
            return $content;
        }
        
        return $default;
    }
public static function getContent ( string $ path , $ default = null ) { if ( is_file ( $ path ) && ( ( $ content = file_get_contents ( $ path ) ) !== false ) ) { return $ content ; } return $ default ; }
Get content of the file at the specified path.

@param string $path
Path of the file to get the content of.

@param mixed $default
[optional]
Value to return when file does not exist or fails to read.

@return string Content of file at the specified path or specified default value on failure.
Get content of the file at the specified path .