<?php
/**
 * HappyFenceNG Total Enterprise Security Plugin
 * HAPPYWPRESS is a RazorVue Trademark.
 *
 * @package     HappyFenceNG
 * @developer   Simonluca Scillitani
 * @copyright   2025 RazorVue di Scillitani Simonluca
 * @link        https://razorvue.it
 * @author      RazorVue di Scillitani Simonluca
 * @brand       HappyWPress
 * @uri         https://happywpress.com
 * @set all
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**PHPCS -> code compliance: we put useful comments where needed.. */
class HappyFenceNGFunnel extends HappyFenceNGMCore {
	/**PHPCS -> code compliance: we put useful comments where needed..
	 *
	 * @param string $m ..we don't use it.
	 * @param array  $a ..we don't use it.
	 */
	public function __call( $m, $a ) {
		$manager = HappyFenceNGCRcontrol::getRoute( 'FUN' );
		$this->push(
			'acore',
			array(
				'title'      => 'ACore Engine',
				'menu_title' => 'ACore Engine',
				'capability' => HappyFenceNGStStored::OPTIONS,
				'slug'       => HappyFenceNGStStored::MAIN_SLUG . '-a-core-guard',
				'callback'   => array( $manager, 'doRoute' ),
			)
		);
	}
}
