public function lang($language)
    {
        if (empty($language)) {
            $this->resetLang();
        } else {
            $this->lang = $language;
        }

        return $this;
    }
public function lang($language)
    {
        if (empty($language)) {
            $this->resetLang();
        } else {
            $this->lang = $language;
        }

        return $this;
    }
public function lang ( $ language ) { if ( empty ( $ language ) ) { $ this -> resetLang ( ) ; } else { $ this -> lang = $ language ; } return $ this ; }
Set the language to work with other functions.

@param string $language

@return instance of Setting
Set the language to work with other functions .