<?php
/**
 * Matador / Integrations / Bullhorn
 *
 * Sets up the integration with Bullhorn
 *
 * @link        https://matadorjobs.com/
 * @since       3.9.0
 *
 * @package     Matador Jobs Board
 * @subpackage  Integrations / Bullhorn
 * @author      Matador Software LLC, Jeremy Scott, Paul Bearne
 * @copyright   (c) 2023, Matador Software, LLC
 *
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 */

namespace matador\MatadorJobs\Integrations\Bullhorn;

/**
 * Class Bullhorn
 *
 * @since 3.9.0
 */
class Bullhorn {

	/**
	 * Constructor
	 *
	 * @since 3.9.0
	 */
	public function __construct() {

		// Replace Matador Countries with Bullhorn Countries
		add_filter( 'matador_jobs_general_countries', [ 'matador\MatadorJobs\Integrations\Bullhorn\Helper', 'get_country_list' ] );
		add_filter( 'matador_application_field_should_skip', [ 'matador\MatadorJobs\Integrations\Bullhorn\Helper', 'maybe_skip_application_country_field' ], 10, 3 );
	}
}