read()
/**
* @throws Throwable
*
* This is a function used only to retrieve results from an address or file path via the file_get_contents method
*/
public static function read(string $path) : Promise; $url = "https://www.google.com/";
System::read($url)->then(function($value) {
var_dump($value);
})->catch(function($reason) {
var_dump($reason);
});Last updated