PHP Class Spatie\Permission\PermissionServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
ファイルを表示 Open project: spatie/laravel-permission

Public Methods

Method Description
boot ( PermissionRegistrar $permissionLoader ) Bootstrap the application services.
register ( ) Register the application services.

Protected Methods

Method Description
registerBladeExtensions ( ) Register the blade extensions.
registerModelBindings ( ) Bind the Permission and Role model into the IoC.

Method Details

boot() public method

Bootstrap the application services.
public boot ( PermissionRegistrar $permissionLoader )
$permissionLoader PermissionRegistrar

register() public method

Register the application services.
public register ( )

registerBladeExtensions() protected method

Register the blade extensions.
protected registerBladeExtensions ( )

registerModelBindings() protected method

Bind the Permission and Role model into the IoC.
protected registerModelBindings ( )