mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-28 21:22:30 +00:00
17 lines
263 B
PHP
17 lines
263 B
PHP
![]() |
<?php
|
||
|
|
||
|
namespace Oxbow;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Permission extends Model
|
||
|
{
|
||
|
/**
|
||
|
* The roles that belong to the permission.
|
||
|
*/
|
||
|
public function roles()
|
||
|
{
|
||
|
return $this->belongsToMany('Oxbow\Permissions');
|
||
|
}
|
||
|
}
|