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;
    }
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;
    }
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 ; }
Determine if a real path is beneath another path.

The files/directories passed to this method are checked to make sure
they exists, so the results returned by this method can be trusted.

@see Filesystem::resolveReal()
@see Filesystem\Directories::isBeneath()

@param string $child
@param string $parent
@param string $childDir
@param string $parentDir
@return boolean
Determine if a real path is beneath another path .