14 lines
172 B
PHP
Executable file
14 lines
172 B
PHP
Executable file
<?php namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Role extends Model {
|
|
|
|
public function users()
|
|
{
|
|
|
|
return $this->belongsToMany('App\User');
|
|
|
|
}
|
|
|
|
}
|