protected function subtractPath($fullPath, $subPath) {
        $position = strrpos($fullPath, $subPath);
        if ($position === 0) {
            $path = substr($fullPath, strlen($subPath));
            return $path ? $this->cleanPath('/' . $path) : '';
        }
        return '';
    }
protected function subtractPath($fullPath, $subPath) {
        $position = strrpos($fullPath, $subPath);
        if ($position === 0) {
            $path = substr($fullPath, strlen($subPath));
            return $path ? $this->cleanPath('/' . $path) : '';
        }
        return '';
    }
protected function subtractPath ( $ fullPath , $ subPath ) { $ position = strrpos ( $ fullPath , $ subPath ) ; if ( $ position === 0 ) { $ path = substr ( $ fullPath , strlen ( $ subPath ) ) ; return $ path ? $ this -> cleanPath ( '/' . $ path ) : '' ; } return '' ; }
Subtracts subpath from the fullpath
@param string $fullPath
@param string $subPath
@return string
Subtracts subpath from the fullpath