title: Inheritance in Laravel framework
body: <p>Is possibile to use inheritance in laravel model? I explain:</p>
  
  <p>is possible to exend a model, which extends eloquent class?</p>
  
  <pre><code>class A extends Eloquent
  {
  }
  
  class B extends A
  {
  }
  </code></pre>
  
  <p>A e B are also 2 different tables and B has A_id as foreignkey and other fields.
  How could be the constructor of class B?
  is it a ragionable solution or better use hasOne relationship?</p>
  
  <p>no every A object are also B object. Es. user and teacher</p>
  
  <p>Thank you</p>