TwistPHP Documentation

removeCache

File path: dist/twist/Core/Helpers/View.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

removeCacheRemove an item from the cache file for the correct cache key

Parameters

Name Type Description
$strViewPathstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strViewPath 'foo';

//Call the function removeCache with the example vars
Twist::View() -> removeCache($strViewPath);