PHP Class Arcanedev\Localization\LocalizationServiceProvider

Author: ARCANEDEV ([email protected])
Inheritance: extends Arcanedev\Support\PackageServiceProvider
Show file Open project: arcanedev/localization

Protected Properties

Property Type Description
$package string Package name.
$vendor string Vendor name.

Public Methods

Method Description
boot ( ) Boot the package.
getBasePath ( ) : string Get the base path of the package.
provides ( ) : array Get the services provided by the provider.
register ( ) Register the service provider.

Private Methods

Method Description
registerLocalization ( ) Register Localization.

Method Details

boot() public method

Boot the package.
public boot ( )

getBasePath() public method

Get the base path of the package.
public getBasePath ( ) : string
return string

provides() public method

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

register() public method

Register the service provider.
public register ( )

Property Details

$package protected property

Package name.
protected string $package
return string

$vendor protected property

Vendor name.
protected string $vendor
return string