PHP Class BenConstable\Localize\DeterminerManager

Inheritance: extends Illuminate\Support\Manager
显示文件 Open project: benconstable/laravel-localize-middleware Class Usage Examples

Public Methods

Method Description
getDefaultDriver ( ) : string Get the default localize driver name.

Protected Methods

Method Description
createCookieDriver ( ) : Cookie Get a cookie determiner instance.
createHeaderDriver ( ) : Header Get a header determiner instance.
createHostDriver ( ) : Host Get a host determiner instance.
createParameterDriver ( ) : Parameter Get a parameter determiner instance.
createSessionDriver ( ) : Session Get a session determiner instance.
createStackDriver ( ) : Stack Get a stack determiner instance.

Method Details

createCookieDriver() protected method

Get a cookie determiner instance.
protected createCookieDriver ( ) : Cookie
return BenConstable\Localize\Determiners\Cookie

createHeaderDriver() protected method

Get a header determiner instance.
protected createHeaderDriver ( ) : Header
return BenConstable\Localize\Determiners\Header

createHostDriver() protected method

Get a host determiner instance.
protected createHostDriver ( ) : Host
return BenConstable\Localize\Determiners\Host

createParameterDriver() protected method

Get a parameter determiner instance.
protected createParameterDriver ( ) : Parameter
return BenConstable\Localize\Determiners\Parameter

createSessionDriver() protected method

Get a session determiner instance.
protected createSessionDriver ( ) : Session
return BenConstable\Localize\Determiners\Session

createStackDriver() protected method

Get a stack determiner instance.
protected createStackDriver ( ) : Stack
return BenConstable\Localize\Determiners\Stack

getDefaultDriver() public method

Get the default localize driver name.
public getDefaultDriver ( ) : string
return string