public function resolveClassName($className)
    {
        $className = Inflector::id2camel($className, '_');
        if (isset($this->aliases[$className])) {
            return $this->aliases[$className];
        }
        foreach ($this->namespaces as $namespace) {
            $resolvedClassName = $namespace . '\\' . $className;
            if (class_exists($resolvedClassName)) {
                return $this->aliases[$className] = $resolvedClassName;
            }
        }
        return $className;
    }
public function resolveClassName($className)
    {
        $className = Inflector::id2camel($className, '_');
        if (isset($this->aliases[$className])) {
            return $this->aliases[$className];
        }
        foreach ($this->namespaces as $namespace) {
            $resolvedClassName = $namespace . '\\' . $className;
            if (class_exists($resolvedClassName)) {
                return $this->aliases[$className] = $resolvedClassName;
            }
        }
        return $className;
    }
public function resolveClassName ( $ className ) { $ className = Inflector :: id2camel ( $ className , '_' ) ; if ( isset ( $ this -> aliases [ $ className ] ) ) { return $ this -> aliases [ $ className ] ; } foreach ( $ this -> namespaces as $ namespace ) { $ resolvedClassName = $ namespace . '\\' . $ className ; if ( class_exists ( $ resolvedClassName ) ) { return $ this -> aliases [ $ className ] = $ resolvedClassName ; } } return $ className ; }
Resolves class name from widget and asset syntax

@param string $className class name
@return string
Resolves class name from widget and asset syntax