<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Type extends Model
{
  public function content() {
    return $this->hasMany('content');
  }

  // public function page() {
  //   return $this->hasManyThrough('App\Page');
  // }
}

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Type extends Model
{
  
}

Clear type function (not neccesairy)
Clear type function (not neccesairy)
