TwistPHP Documentation

expiry

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

expiryGet the expiry timestamp of a cache file by its unique ID

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 expiry with the example vars
Twist::Cache() -> expiry($mxdUniqueID);