TwistPHP Documentation

clean

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

cleanClean up the system, this is garbage collection. Any expired caches will be removed form the system. This will not remove any session data in the PHP session storage

Return Values

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

Example

<?php
//Call the function clean with the example vars
Twist::Cache() -> clean();