PSR-0 + Decoupling question
<p>I am writing a library, laid out like this:</p>

<pre><code>/library
    /src
        /Library
            /SubClass
                SubClassOne.php
                SubClassTwo.php
                SubClassThree.php
                SubClassFour.php
                SubClassFive.php
                SubClasses.php
            Class.php
</code></pre>

<p>In Class.php, it does a loop and calls a method on all registered subclasses. I want this to be flexible enough for others to register their own subclass, so I have a container called Subclasses with methods register(), registerDefaults() and executeOnRegistered().</p>

<p>registerDefaults() basically registers each of the subclasses manually. I'm sort of worried that this is bad coding (Tight coupling) and was wondering what the best way to do this is? </p>
