TwistPHP Documentation

read

File path: dist/twist/Core/Utilities/Cache.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

readRetrieve the data form the cache at any point by passing in the Unique ID. Expired cache date will be purged and passed back as NULL in the result.

Parameters

Name Type Description
$mxdUniqueIDmixedn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$mxdUniqueID 'foo-123';

//Call the function read with the example vars
Twist::Cache() -> read($mxdUniqueID);