protected function getPathPattern(string $relativePath): string
    {
        if (empty($relativePath)) {
            return $this->path;
        }

        return rtrim($this->path,'/') . '/' . ltrim($relativePath, '/');
    }
protected function getPathPattern(string $relativePath): string
    {
        if (empty($relativePath)) {
            return $this->path;
        }

        return rtrim($this->path,'/') . '/' . ltrim($relativePath, '/');
    }
protected function getPathPattern ( string $ relativePath ) : string { if ( empty ( $ relativePath ) ) { return $ this -> path ; } return rtrim ( $ this -> path , '/' ) . '/' . ltrim ( $ relativePath , '/' ) ; }
Get the path pattern to pass to the file finder.

@since 0.4.7

@param string $relativePath Relative path that was included in the
criterion.
@return string Path pattern to pass to the file finder.
Get the path pattern to pass to the file finder .