PHP Class Geocoder\Laravel\Providers\GeocoderService

Author: Antoine Corcy ([email protected])
Author: Mike Bronner ([email protected])
Inheritance: extends Illuminate\Support\ServiceProvider
显示文件 Open project: toin0u/geocoder-laravel

Protected Properties

Property Type Description
$defer

Public Methods

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

Private Methods

Method Description
getAdapterClass ( $provider ) : string Get the required Adapter class name for the current provider. It will select a specific adapter if required, handle the Chain provider, and return the default configured adapter if non of the above are true.
getArguments ( array $arguments, $provider ) : string Insert the required Adapter instance (if required) as the first element of the arguments array.
getProviders ( Collection $providers ) : array Instantiate the configured Providers, as well as the Chain Provider.

Method Details

boot() public method

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

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

Property Details

$defer protected_oe property

protected $defer