src/Common/Service/Locale.php
public function sniffQuery(\Nails\Common\Factory\Locale &$oLocale)
    {
        $this->setFromString(
            $oLocale,
            $this->oInput->get(static::QUERY_PARAM) ?? null
        );

        return $this;
    }
public function sniffQuery(\Nails\Common\Factory\Locale &$oLocale)
    {
        $this->setFromString(
            $oLocale,
            $this->oInput->get(static::QUERY_PARAM) ?? null
        );

        return $this;
    }
public function sniffQuery ( \ Nails \ Common \ Factory \ Locale & $ oLocale ) { $ this -> setFromString ( $ oLocale , $ this -> oInput -> get ( static :: QUERY_PARAM ) ?? null ) ; return $ this ; }
Looks for a locale in the query string and updates the locale object

@param \Nails\Common\Factory\Locale $oLocale The locale object to update

@return $this
Looks for a locale in the query string and updates the locale object