<?php
/**
 * Base class for BaseDirectoryDefiner classes.
 *
 * @package Ealab\Deployer
 */

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

use EaLab\WP_Deployer\vendor\Dakwamine\Component\ComponentBasedObject;

/**
 * Base class for BaseDirectoryDefiner classes.
 *
 * They are used to tell the FileManager to use another base directory.
 */
class BaseDirectoryDefinerBase extends ComponentBasedObject {
	/**
	 * Gets the base directory to use for FileManager.
	 *
	 * @return string The base directory.
	 */
	public function getBaseDirectory(): string {
		// Default implementation.
		return deploy_sync_content__get_base_dir();
	}
}
