TwistPHP Documentation

remove

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

removeRemove a cache manually (before expiry) if you want to stop using it or no longer require its contents. Pass in the Unique ID to reference the cache you want to remove, alternatively passing in null will remove all cache files for this instance.

Parameters

Name Type Description
[$mxdUniqueID = null]mixedn/a

Return Values

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

Example

<?php
//Set the variables for the example
$mxdUniqueID null;

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