public function setCode(string $code)
    {
        if ($code) {
            $this->selectLocale = strtolower($code);
            $this->ready = true;    // set ready for use locale
            $this->checkLocale();
        }
//        \Tracy\Debugger::fireLog('setCode: ' . $code);
    }
public function setCode(string $code)
    {
        if ($code) {
            $this->selectLocale = strtolower($code);
            $this->ready = true;    // set ready for use locale
            $this->checkLocale();
        }
//        \Tracy\Debugger::fireLog('setCode: ' . $code);
    }
public function setCode ( string $ code ) { if ( $ code ) { $ this -> selectLocale = strtolower ( $ code ) ; $ this -> ready = true ; // set ready for use locale $ this -> checkLocale ( ) ; } //        \Tracy\Debugger::fireLog('setCode: ' . $code); }
Set code.

@param string $code
Set code .