<?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 HappyFenceNGAggregate extends HappyFenceNGMCore {

	/**PHPCS -> code compliance: we put useful comments where needed..
	 *
	 * @param string $method ..we don't use it.
	 * @param array  $args ..we don't use it.
	 */
	public function __call( $method, $args ) {
		$manager = HappyFenceNGCRcontrol::getRoute( 'AGG' );
		$this->push(
			'sysshields',
			array(
				'title'      => 'System Shields',
				'menu_title' => 'Sys Shields',
				'capability' => HappyFenceNGStStored::OPTIONS,
				'slug'       => HappyFenceNGStStored::MAIN_SLUG . '-sys-shields-guard',
				'callback'   => array( $manager, 'doRoute' ),
			)
		);
	}
}
