<?php
/**
 * Sets the base directory to the temp directory.
 *
 * @package Ealab\Deployer
 */

namespace EaLab\WP_Deployer\vendor\Ealab\Deployer\Utility\BaseDirectoryDefiner;

/**
 * Sets the base directory to the temp directory.
 */
class TempBaseDirectoryDefiner extends BaseDirectoryDefinerBase {
	/**
	 * {@inheritDoc}
	 */
	public function getBaseDirectory(): string {
		// Simple as that!
		return rtrim( sys_get_temp_dir(), '/\\' ) . '/deploy-sync-content/';
	}
}
