FOFTable::forceInstance
Force an instance inside class cache. Setting arguments to null nukes all or part of the cache
Signature
public function forceInstance([string|null
$key = null,
[FOFTable|null
$instance = null]] )
Parameters
-
$key
- TableClass to replace. Set it to null to nuke the entire cache
-
$instance
- Instance to replace. Set it to null to nuke $key instances
Returns
- bool
- Did I correctly switch the instance?