title: Adapt abstract class in Codeigniter
body: <p>I have the following scenario:</p>
  
  <p>Controller:</p>
  
  <pre><code>class Collect extends CI_Controller {
  
      function __construct() {
          parent::__construct();
  
          $this-&gt;load-&gt;library('phirehose');
          $this-&gt;load-&gt;library('oauthphirehose');
          $this-&gt;load-&gt;library('ghettoqueuecollector');
      }
  
      function index() {
          // Start streaming/collecting
      $this-&gt;ghettoqueuecollector('datos');
  ...
  }
  </code></pre>
  
  <p>Class:
  A)</p>
  
  <pre><code>class Ghettoqueuecollector extends Oauthphirehose {
  ...
  }
  </code></pre>
  
  <p>B)</p>
  
  <pre><code>abstract class Oauthphirehose extends Phirehose {
  ...
  }
  </code></pre>
  
  <p>C)</p>
  
  <pre><code>abstract class Phirehose {
  ...
  }
  </code></pre>
  
  <p>When I try to use the controller gives this error:
  "Fatal error: Cannot instantiate abstract class Phirehose"</p>
  
  <p>That is lacking adapt? Codeigniter outside these classes work using require. Can I use them in CI? Thanks</p>