<?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 HappyFenceNGPcoreProps extends HappyFenceNGAProps {

	/**PHPCS -> code compliance: we put useful comments where needed..
	 *
	 * @var string _PWD_LEN .
	 */
	public const _PWD_LEN = 35;
	/**PHPCS -> code compliance: we put useful comments where needed..
	 *
	 * @var string _SLUG_LEN .
	 */
	public const _SLUG_LEN = 50;

	/**PHPCS -> code compliance: we put useful comments where needed.. */
	protected function __construct() {

		$this->jz( 'delete_tables_on_uninstall', HappyFenceNGPlaceholder::BOOL_PROP_DEFAULT );

		$this->jz( 'enable_custom_login', HappyFenceNGPlaceholder::BOOL_PROP_DEFAULT );
		$this->jz( 'custom_login_slug', HappyFenceNGPlaceholder::EMPTY_STRING );

		$this->jz( 'generate_random_slug', HappyFenceNGPlaceholder::BOOL_PROP_DEFAULT );

		$this->jz( 'disable_rss_feed', HappyFenceNGPlaceholder::BOOL_PROP_DEFAULT );

		$this->jz( 'disable_app_passwords', HappyFenceNGPlaceholder::BOOL_PROP_DEFAULT );

		$this->jz( 'wpcli_secpass', HappyFenceNGUtils::generateStrongPassword( self::_PWD_LEN ) );

		$this->_do();
	}

	/**PHPCS -> code compliance: we put useful comments where needed.. */
	//phpcs:ignore
	protected function _do() {
	}
}
