PHP Class Bkwld\Croppa\ServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Exibir arquivo Open project: bkwld/croppa

Public Methods

Method Description
boot ( ) : void Bootstrap the application events.
bootLaravel4 ( ) : void Boot specific logic for Laravel 4. Tells Laravel about the package for auto namespacing of config files
bootLaravel5 ( ) : void Boot specific logic for Laravel 5. Registers the config file for publishing to app directory
bootLumen ( ) : void Boot specific logic for Lumen. Load custom croppa config file
getConfig ( ) : array Get the configuration, which is keyed differently in L5 vs l4
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.
registerLaravel5Lumen ( ) : void Register specific logic for Laravel/Lumen 5. Merges package config with user config
version ( ) : integer Get the major Laravel version number

Method Details

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void

bootLaravel4() public method

Boot specific logic for Laravel 4. Tells Laravel about the package for auto namespacing of config files
public bootLaravel4 ( ) : void
return void

bootLaravel5() public method

Boot specific logic for Laravel 5. Registers the config file for publishing to app directory
public bootLaravel5 ( ) : void
return void

bootLumen() public method

Boot specific logic for Lumen. Load custom croppa config file
public bootLumen ( ) : void
return void

getConfig() public method

Get the configuration, which is keyed differently in L5 vs l4
public getConfig ( ) : array
return array

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

registerLaravel5Lumen() public method

Register specific logic for Laravel/Lumen 5. Merges package config with user config
public registerLaravel5Lumen ( ) : void
return void

version() public method

Get the major Laravel version number
public version ( ) : integer
return integer