PHP Class SimpleSoftwareIO\SMS\SMSServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: simplesoftwareio/simple-sms Class Usage Examples

Protected Properties

Property Type Description
$defer boolean Indicates if loading of the provider is deferred.

Public Methods

Method Description
boot ( ) Bootstrap the application events.
provides ( ) : array Get the services provided by the provider.
register ( ) Register the service provider.
registerSender ( ) Register the correct driver based on the config file.

Private Methods

Method Description
setSMSDependencies ( SMS $sms, $app ) Set a few dependencies on the sms instance.

Method Details

boot() public method

Bootstrap the application events.
public boot ( )

provides() public method

Get the services provided by the provider.
public provides ( ) : array
return array

register() public method

Register the service provider.
public register ( )

registerSender() public method

Register the correct driver based on the config file.
public registerSender ( )

Property Details

$defer protected property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean