PHP Интерфейс Laratrust\Contracts\LaratrustPermissionInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany Many-to-Many relations with role model.
users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany Many-to-Many relations with user model.

Описание методов

roles() публичный Метод

Many-to-Many relations with role model.
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
Результат Illuminate\Database\Eloquent\Relations\BelongsToMany

users() публичный Метод

Many-to-Many relations with user model.
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
Результат Illuminate\Database\Eloquent\Relations\BelongsToMany