Alom icon indicating copy to clipboard operation
Alom copied to clipboard

How to use additional setting

Open agus-prawoto opened this issue 1 year ago • 0 comments

Hi, I search around and can't find how to use the additional setting optional item (A part of the script that is not obfuscated and visible and can be manipulated and changed by the user.)

My situation is:

I don't wat to obfuscate the properties of a class something like $this->data, $this->session, etc, because it used by children class (in the different file that not obfuscated), By default the script will obfuscate the properties so it caused an error when the children call that properties.

Maybe like this?

$settings = [
  'license' => [
	'title' => 'Expired Hello World',
    'author' => 'Avid',
    'copyright' => 'https://github.com/avid0/Alom examples'
  ],
  'additional' => [
	'optional' => ?????
  ]
  'date' => [
    // 'expiration' => time() + 60, // 1 min
  ]
];

Thank you

agus-prawoto avatar Aug 05 '24 23:08 agus-prawoto