<?php

namespace HelloBiz\Modules\AdminHome\Components;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

use HelloBiz\Modules\AdminHome\Rest\Admin_Config;
use HelloBiz\Modules\AdminHome\Rest\Install_Confirmation;
use HelloBiz\Modules\AdminHome\Rest\Promotions;
use HelloBiz\Modules\AdminHome\Rest\Theme_Settings;
use HelloBiz\Modules\AdminHome\Rest\Whats_New;

class Api_Controller {

	protected $endpoints = [];

	public function __construct() {
		$this->endpoints['promotions'] = new Promotions();
		$this->endpoints['admin-config'] = new Admin_Config();
		$this->endpoints['theme-settings'] = new Theme_Settings();
		$this->endpoints['whats-new'] = new Whats_New();
		$this->endpoints['install-confirmation'] = new Install_Confirmation();
	}
}
