Can a class Extend or Override himself?
<p>Suppose we have a class. We create an object from the class and when we do the class Extends himself base on the object initialization value..</p>

<p>For example:</p>

<pre><code>$objectType1 = new Types(1);
$objectType1-&gt;Activate(); // It calls an activation function for type 1

$objectType2 = new Types(2);
$objectType2-&gt;Activate(); // It calls an activation function for type 2
</code></pre>

<p>I don't want to use the standard procedure of class extending:</p>

<pre><code>class type1 extends types{}
</code></pre>
