PHP Class Overtrue\LaravelLang\TranslationServiceProvider

Inheritance: extends Illuminate\Translation\TranslationServiceProvider
Show file Open project: overtrue/laravel-lang

Protected Properties

Property Type Description
$inLumen boolean

Public Methods

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

Protected Methods

Method Description
registerCommands ( ) Register lang:publish command.
registerLoader ( ) Register the translation line loader.

Method Details

provides() public method

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

register() public method

Register the service provider.
public register ( )

registerCommands() protected method

Register lang:publish command.
protected registerCommands ( )

registerLoader() protected method

Register the translation line loader.
protected registerLoader ( )

Property Details

$inLumen protected property

protected bool $inLumen
return boolean