PHP Class Encore\Admin\Auth\Database\Permission

Inheritance: extends Illuminate\Database\Eloquent\Model
Exibir arquivo Open project: z-song/laravel-admin Class Usage Examples

Protected Properties

Property Type Description
$fillable

Public Methods

Method Description
__construct ( array $attributes = [] ) Create a new Eloquent model instance.
roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany Permission belongs to many roles.

Method Details

__construct() public method

Create a new Eloquent model instance.
public __construct ( array $attributes = [] )
$attributes array

roles() public method

Permission belongs to many roles.
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany
return Illuminate\Database\Eloquent\Relations\BelongsToMany

Property Details

$fillable protected_oe property

protected $fillable