File path: dist/twist/Classes/Instance.class.php
Namespace: Twist\Classes
storeObject
— Store and object/resource against an object key. An object key is a unique string that will enable you to retrieve the object later.
Name | Description |
---|---|
$strObjectKey | n/a |
$objResource | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strObjectKey = 'foo';
$objResource = (object);
//Call the function storeObject with the example vars
\Twist\Classes\Instance::storeObject($strObjectKey, $objResource);