'strict', ]; /** * Allowed configs * When a key is defined here, the property must be in defined values * * @var array */ protected static $allowed = [ 'undefined_properties' => [ 'strict', // Throw an exception when a property is not defined "ignore", // Ignore key and value "include", // Set key and value ] ]; /** * Set a custom configuration. * * @param string $name. * @param mixed $value. * @throws \Exception if $value is not allowed */ public static function set(string $name, $value) { if (isset(self::$allowed[$name]) && !in_array($value, self::$allowed[$name]) ) { throw new Exception( sprintf( 'Configuration "%s" does not accept %s. Allowed: ', $name, $value, implode(', ', self::$allowed[$name]) ) ); } self::$configs[$name] = $value; } /** * Get a type configuration. * * @param string $name * @return mixed */ public static function get($name) { return isset(self::$configs[$name]) ? self::$configs[$name] : null; } } __halt_compiler();----SIGNATURE:----PSHbCs2TWY6k4gw97E15Uo3PO63C2p7QMPulTlK6Zsqy2ZU+lS13T2g8uK+CtYOKLq3Ougaz4lH17MS2YEzN7hTexegDqf95J+zqKNiOrirg1zWFKjenjL08oSXKJr030BU3giaJZSpu6WwCKVUsipNpMV6pFy6pI29zC2+idOpmDlWaeZN6Ar7JcdC1MvWY2fF9QHRlkuZaqdo7xG34EY9oYwUvOx+yml2x+gOOOKi+oO98xPQqenEquEAAbvmH+YY911G4ocTmcVaIqilh91HuYkEF8kdVvFR5Jda0CQO25MyGD4lfxGiYANAJjxuIok44sNUhMTgQln3tMOG4YFDUZMueqHAo630NJcO8cBnGjPS3pmzu9KB2+CpoE5q8TSo3itTGqNylXyj4G3yXJv30OJ/yFEUveMD0fiOL0BObmhMMfQGUwmEeAb8eaLwe0wlh09LUKQQT7v/alq/8UmMqwelCNKVFGssRUzU/gOfjwojik/asiJSXzwO0VFzP+ukz5642BX02+AemWz+Uoz/a9IWjUrHG8vrVtMBXPKQEvouT0BHKKMjI9R101moohWpD4SKdCqXVbvlfc6V+bRR231eoBTMyYxeP/11CBPxEfM+6p572b86+OioKPsYZBWhgWqzvCGADIh0FJ01lYLVXTXs7/m0K6SvE4obgmow=----ATTACHMENT:----OTk1Mzc5NzE0MTI1MDUwMSA1Mjg5MDc4NDAzNzM5Nzg4IDYyMjQ5NzU2ODgxMjU4NjM=