PHP Interface Laratrust\Contracts\LaratrustGroupInterface

Datei anzeigen Open project: santigarcor/laratrust

Public Methods

Method Description
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.

Method Details

roles() public method

Many-to-Many relations with role model.
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
return Illuminate\Database\Eloquent\Relations\BelongsToMany

users() public method

Many-to-Many relations with user model.
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
return Illuminate\Database\Eloquent\Relations\BelongsToMany