original_string: public function resolve($name)
      {
          $codes = $this->listComponents();
  
          if (isset($codes[$name])) {
              return $codes[$name];
          }
  
          $name = Str::normalizeClassName($name);
          if (isset($this->classMap[$name])) {
              return $name;
          }
  
          return null;
      }
code: public function resolve($name)
      {
          $codes = $this->listComponents();
  
          if (isset($codes[$name])) {
              return $codes[$name];
          }
  
          $name = Str::normalizeClassName($name);
          if (isset($this->classMap[$name])) {
              return $name;
          }
  
          return null;
      }
code_tokens: public function resolve ( $ name ) { $ codes = $ this -> listComponents ( ) ; if ( isset ( $ codes [ $ name ] ) ) { return $ codes [ $ name ] ; } $ name = Str :: normalizeClassName ( $ name ) ; if ( isset ( $ this -> classMap [ $ name ] ) ) { return $ name ; } return null ; }
docstring: Returns a class name from a component code
  Normalizes a class name or converts an code to it's class name.
  @return string The class name resolved, or null.
docstring_tokens: Returns a class name from a component code Normalizes a class name or converts an code to it s class name .