Няма описание

AdminRole.php 239B

1234567891011121314
  1. <?php namespace App;
  2. use Illuminate\Database\Eloquent\Model;
  3. class AdminRole extends Model {
  4. protected $table = "admin_role";
  5. public $timestamps = false;
  6. public function getAdminRole()
  7. {
  8. $this->belongToMany("App\AdminRole");
  9. }
  10. }