Extending classes in PHP
<p>When extending classes in Java, class name ambiguity is avoided by the usage of qualified package names in the import statements.</p>

<p>For example: Say I want my controller to extend Spring's MultiActionController -  I'll import the same from the standard Spring package. This also prevents me from extending Mike's or Perry's MultiActionController, since I have not imported MultiActionController from their packages.</p>

<p>Similarly in PHP, say we have 10 classes in 10 different library folders, all of which are called MultiActionController.</p>

<p>When I write:</p>

<pre><code>class MyController extends MultiActionController {
    function __construct() {
        parent::__construct();
    }
}
</code></pre>

<p>How do I tell PHP which MultiActionController (from which folder), to extend from?</p>
