public function resolve($className)
    {
        $trimmed = ltrim($className, '\\');

        if (!$this->canResolve($trimmed)) return $className;

        return $this->implementations[$trimmed];
    }
public function resolve($className)
    {
        $trimmed = ltrim($className, '\\');

        if (!$this->canResolve($trimmed)) return $className;

        return $this->implementations[$trimmed];
    }
public function resolve ( $ className ) { $ trimmed = ltrim ( $ className , '\\' ) ; if ( ! $ this -> canResolve ( $ trimmed ) ) return $ className ; return $ this -> implementations [ $ trimmed ] ; }
Resolve a given class name.

If the resolved class does not exist return the original class.

@param string $className
@return string
Resolve a given class name .