original_string: public function get($code)
      {
          $result = null;
          $this->hook->attach('language.get.before', $code, $result, $this);
  
          if (isset($result)) {
              return (array) $result;
          }
  
          $list = $this->getList();
          $result = isset($list[$code]) ? $list[$code] : array();
  
          $this->hook->attach('language.get.after', $code, $result, $this);
          return (array) $result;
      }
code: public function get($code)
      {
          $result = null;
          $this->hook->attach('language.get.before', $code, $result, $this);
  
          if (isset($result)) {
              return (array) $result;
          }
  
          $list = $this->getList();
          $result = isset($list[$code]) ? $list[$code] : array();
  
          $this->hook->attach('language.get.after', $code, $result, $this);
          return (array) $result;
      }
code_tokens: public function get ( $ code ) { $ result = null ; $ this -> hook -> attach ( 'language.get.before' , $ code , $ result , $ this ) ; if ( isset ( $ result ) ) { return ( array ) $ result ; } $ list = $ this -> getList ( ) ; $ result = isset ( $ list [ $ code ] ) ? $ list [ $ code ] : array ( ) ; $ this -> hook -> attach ( 'language.get.after' , $ code , $ result , $ this ) ; return ( array ) $ result ; }
docstring: Returns a language
  @param string $code
  @return array
docstring_tokens: Returns a language