src/includes/classes/App.php
public function getClass(string $class): string
    {
        if (!($classes_position = mb_strripos($class, '\\Classes\\'))) {
            return $class; // Not possible; return as-is.
        } elseif (!($sub_class = mb_substr($class, $classes_position + 9))) {
            return $class; // Not possible; return as-is.
        }
        if (class_exists($this->namespace.'\\'.$sub_class)) {
            return $class = $this->namespace.'\\'.$sub_class;
        } elseif (($_Parent = $this->Parent)) {
            do {
                if (class_exists($_Parent->namespace.'\\'.$sub_class)) {
                    return $class = $_Parent->namespace.'\\'.$sub_class;
                }
            } while ($_Parent->Parent); // unset($_Parent);
        }
        return $class; // Return as-is (nothing more we can do).
    }
public function getClass(string $class): string
    {
        if (!($classes_position = mb_strripos($class, '\\Classes\\'))) {
            return $class; // Not possible; return as-is.
        } elseif (!($sub_class = mb_substr($class, $classes_position + 9))) {
            return $class; // Not possible; return as-is.
        }
        if (class_exists($this->namespace.'\\'.$sub_class)) {
            return $class = $this->namespace.'\\'.$sub_class;
        } elseif (($_Parent = $this->Parent)) {
            do {
                if (class_exists($_Parent->namespace.'\\'.$sub_class)) {
                    return $class = $_Parent->namespace.'\\'.$sub_class;
                }
            } while ($_Parent->Parent); // unset($_Parent);
        }
        return $class; // Return as-is (nothing more we can do).
    }
Get class (in order of precedence).

@since 160224 Support ancestors.

@param string $class The class path.

@return string Class w/ highest precedence.