프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fillable |
메소드 | 설명 | |
---|---|---|
__construct ( array $attributes = [] ) | Create a new Eloquent model instance. | |
administrators ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | A role belongs to many users. | |
can ( $permission ) : boolean | Check user has permission. | |
cannot ( $permission ) : boolean | Check user has no permission. | |
permissions ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | A role belongs to many permissions. |
public __construct ( array $attributes = [] ) | ||
$attributes | array |
public administrators ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
리턴 | Illuminate\Database\Eloquent\Relations\BelongsToMany |
public permissions ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
리턴 | Illuminate\Database\Eloquent\Relations\BelongsToMany |