public static function isBeneathReal(
        string $child,
        string $parent,
        string $childDir = null,
        string $parentDir = null
    ) {
        $realChildPath = Filesystem::resolveReal($child, $childDir);
        $realParentPath = Filesystem::resolveReal($parent, $parentDir);

        if ($realChildPath && $realParentPath) {
            return Directories::isBeneath($realChildPath, $realParentPath);
        }

        return false;
    }