prevents a class unsetting in php
<p>I created a class implementing ArrayAccess and I added it a function to prevents WRITE actions:</p>

<pre><code> $Obj-&gt;Add("key","something");
 $Obj-&gt;Add("key2","something2");
 $Obj-&gt;SetReadOnly(); // sets read only property
 unset($Obj["key2"]); // throws error, object is readonly
</code></pre>

<p>But, i want to prevent unsetting object too:</p>

<pre><code> unset($Obj);
</code></pre>

<p>I can do it?I hear suggestions.
Thanks for help!.</p>
