Restruct\Silverstripe\AdminTweaks\Helpers\CacheHelpers::cached_jsonLD_request
Load and extract+parse json+ld fragments from a (cached) URL
Signature
public function cached_jsonLD_request(
$reqUrl,
[string
$reqMethod = 'GET',
[array
$options = ,
[integer
$cacheDuration = 900]]] )
Parameters
$reqUrl
—$reqMethod
— string$options
— array$cacheDuration
— integer
Returns
- array
- containing parsed json (associative)