original_string: public function setActive($lang)
      {
          if ($this->validate($lang)) {
              $this->active = $lang;
  
              return $lang;
          }
  
          return false;
      }
code: public function setActive($lang)
      {
          if ($this->validate($lang)) {
              $this->active = $lang;
  
              return $lang;
          }
  
          return false;
      }
code_tokens: public function setActive ( $ lang ) { if ( $ this -> validate ( $ lang ) ) { $ this -> active = $ lang ; return $ lang ; } return false ; }
docstring: Sets active language manually
  
  @param string $lang
  
  @return string|bool
docstring_tokens: Sets active language manually