TwistPHP Documentation

__construct

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

__constructLoad all the default options for the cache system, create folders and '.htaccess' if required.

Parameters

Name Type Description
$strInstanceKeystringn/a

Return Values

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

Example

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

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