BucklesHusky\ElementalSoundcloud\Elements\SoundcloudElement::getURLContents
Loads the contents of a url, with sensitivity for allow_url_fopen being off
Signature
protected function getURLContents({string}
$url,
[boolean
$quickTimeout = false,
[boolean
$headers = false]] )
Parameters
$url
—
object
- URL to load
$quickTimeout
—
boolean
- Whether to time out quickly or wait till the request completes, if quick time out is specified false is returned
$headers
—
boolean
- Headers to pass through to curl
Returns
- {mixed}
- Returns the contents of the loaded url or false