title: Getting table name using Eloquent Relationship
body: <pre><code>class SampleELoq extends Model
  {
      use SoftDeletes;
  
      public function conditionFields() {
         return $this-&gt;belongsToMany('App\EloquentModel\ConditionField');
      }
  }
  </code></pre>
  
  <p>nameSpace  is the name space of the SampleELoq</p>
  
  <pre><code>$Eloq = $nameSpace::find(1);
  
  $table = with(new $nameSpace-&gt;conditionFields)-&gt;getTable();
  
  print_r(Schema::getColumnListing($table));
  </code></pre>
  
  <p>How can i able to get the table name of the conditionFields?</p>