Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\ModuleInstance\ModuleInstanceServiceProvider Class Reference
Inheritance diagram for BristolSU\Support\ModuleInstance\ModuleInstanceServiceProvider:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\ModuleInstance\ModuleInstanceServiceProvider:
Collaboration graph
[legend]

Public Member Functions

 register ()
 
 boot ()
 

Detailed Description

Module Instance Service Provider

Definition at line 28 of file ModuleInstanceServiceProvider.php.

Member Function Documentation

◆ boot()

BristolSU\Support\ModuleInstance\ModuleInstanceServiceProvider::boot ( )

Boot

  • Push middleware to module group
  • Route model binding for a module_instance_setting
  • Route model binding for a module_instance_service
  • Route model binding for the module_instance_slug

Definition at line 57 of file ModuleInstanceServiceProvider.php.

◆ register()

BristolSU\Support\ModuleInstance\ModuleInstanceServiceProvider::register ( )

Register

  • Bind implementations to contracts
  • Set up the module settings store as a singleton
  • Set up the command store as a singleton

Definition at line 38 of file ModuleInstanceServiceProvider.php.


The documentation for this class was generated from the following file: