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;
    }
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;
    }
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 ; }
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.
Returns a class name from a component code Normalizes a class name or converts an code to it s class name .