VersionPress\Tests\End2End\Utils\WpCliWorker::getRelativePath PHP Method

getRelativePath() protected method

Returns relative path of given path to the WP site.
protected getRelativePath ( $absolutePath ) : string
$absolutePath
return string
    protected function getRelativePath($absolutePath)
    {
        return PathUtils::getRelativePath($this->testConfig->testSite->path, $absolutePath);
    }