Codeception\Module\WPLoader::getWpRootFolder PHP Method

getWpRootFolder() protected method

protected getWpRootFolder ( ) : string
return string
    protected function getWpRootFolder()
    {
        if (empty($this->wpRootFolder)) {
            // allow me not to bother with traling slashes
            $wpRootFolder = Utils::untrailslashit($this->config['wpRootFolder']) . DIRECTORY_SEPARATOR;
            // maybe the user is using the `~` symbol for home?
            $this->wpRootFolder = Utils::homeify($wpRootFolder);
        }
        return $this->wpRootFolder;
    }