protected function getLang()
    {
        if (null === $this->lang) {
            $this->lang = $this->getSession() ? $this->getSession()->getLang(true) : $this->lang = Lang::getDefaultLanguage();
        }

        return $this->lang;
    }
protected function getLang()
    {
        if (null === $this->lang) {
            $this->lang = $this->getSession() ? $this->getSession()->getLang(true) : $this->lang = Lang::getDefaultLanguage();
        }

        return $this->lang;
    }
protected function getLang ( ) { if ( null === $ this -> lang ) { $ this -> lang = $ this -> getSession ( ) ? $ this -> getSession ( ) -> getLang ( true ) : $ this -> lang = Lang :: getDefaultLanguage ( ) ; } return $ this -> lang ; }
Get the current lang used or if not present the default lang for the shop

@return \Thelia\Model\Lang
Get the current lang used or if not present the default lang for the shop