PHP Interface Laratrust\Contracts\LaratrustPermissionInterface

显示文件 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