TwistPHP Documentation

removeObject

File path: dist/twist/Classes/Instance.class.php
Namespace: Twist\Classes
Extends:

removeObjectRemoves the object from the instance holder and destroys the object.

Parameters

Name Type Description
$strObjectKeystringn/a

Return Values

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

Example

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

//Call the function removeObject with the example vars
\Twist\Classes\Instance::removeObject($strObjectKey);