Psr7Middlewares\Middleware\LanguageNegotiator::usePath PHP Method

usePath() public method

Use the base path to detect the current language.
public usePath ( boolean $usePath = true ) : self
$usePath boolean
return self
    public function usePath($usePath = true)
    {
        $this->usePath = $usePath;
        return $this;
    }