PHP Class Artesaos\Defender\Providers\DefenderServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: artesaos/defender

Protected Properties

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

Public Methods

Method Description
boot ( )
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Protected Methods

Method Description
registerBladeExtensions ( ) Register new blade extensions.
registerRepositoryInterfaces ( ) Bind repositories interfaces with their implementations.

Private Methods

Method Description
loadHelpers ( ) Load the helpers file.
publishMigrations ( ) Publish migration file.
publishResources ( ) Publish configuration file.
registerCommands ( ) Register the commands.
setUserModelConfig ( ) Set the default configuration for the user model.
stripParentheses ( string $expression ) : string Strip the parentheses from the given expression.

Method Details

boot() public method

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 ( ) : void
return void

registerBladeExtensions() protected method

Register new blade extensions.
protected registerBladeExtensions ( )

registerRepositoryInterfaces() protected method

Bind repositories interfaces with their implementations.

Property Details

$defer protected property

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