protected function pathIsDescandantOrEqual(
        $workingPath,
        $ancestor,
        $descendant
    ) {
        $this->typeCheck->pathIsDescandantOrEqual(func_get_args());

        $ancestor = $this->normalizePath($workingPath, $ancestor);
        $descendant = $this->normalizePath($workingPath, $descendant);

        return 0 === strpos($descendant, $ancestor);
    }
protected function pathIsDescandantOrEqual(
        $workingPath,
        $ancestor,
        $descendant
    ) {
        $this->typeCheck->pathIsDescandantOrEqual(func_get_args());

        $ancestor = $this->normalizePath($workingPath, $ancestor);
        $descendant = $this->normalizePath($workingPath, $descendant);

        return 0 === strpos($descendant, $ancestor);
    }
@param string $workingPath
@param string $ancestor
@param string $descendant

@return boolean