title: OAuth 2.0 Server PHP, interfaces not found
body: <p>I got a small problem with <a href="http://bshaffer.github.io/oauth2-server-php-docs/" rel="nofollow noreferrer">OAuth 2.0 Server PHP</a>, i want use it in my project. Here is the tree view of my project:</p>
  <blockquote>
  <p>/Model/ Contains all the classes for managing API</p>
  <p>/Lib/ Contains all third-party libraries</p>
  </blockquote>
  <p>The root namespace is &quot;IO&quot; for models that is &quot;IO\Model&quot; and libraries is &quot;IO\Lib&quot;. The problem I have comes from the namespace, currently the class &quot;IO\Lib\OAuth2\Storage\Pdo&quot; is well known but the interfaces are not found. I've never had this problem before on other projects.</p>
  <p>The OAuth 2.0 Server PHP library to its own namespace &quot;OAuth2&quot;. Here is my script Auth.php:</p>
  <pre><code>namespace IO\Model;
  
  use IO\Lib\OAuth2 as OAuth2;
  
  class Auth {
    public function __construct() {
      $this-&gt;config = Config::getInstance();
      
      $storage = new OAuth2\Storage\Pdo(
        array(
          'dsn' =&gt; 'mysql:dbname='.$this-&gt;config-&gt;sql_database.';host='.$this-&gt;config-&gt;sql_host,
          'username' =&gt; $this-&gt;config-&gt;sql_user,
          'password' =&gt; $this-&gt;config-&gt;sql_password
        )
      );
      $server = new OAuth2\Server($storage);
    }
  }
  </code></pre>
  <p>I got this error :</p>
  <blockquote>
  <p>Fatal error: Interface 'OAuth2\Storage\AuthorizationCodeInterface' not found in /Lib/OAuth2/Storage/Pdo.php on line 19</p>
  </blockquote>