mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-27 01:11:37 -06:00
22 lines
391 B
PHP
22 lines
391 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
namespace FireflyIII\Models;
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
|
|
|
|
|
class Role extends Model
|
|
{
|
|
|
|
/**
|
|
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
|
*/
|
|
public function users(): BelongsToMany
|
|
{
|
|
return $this->belongsToMany('FireflyIII\User');
|
|
}
|
|
|
|
}
|