'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:----x5ODhg5JmI2uZK+SA88BM6H1TTrbmbiY3HJ3hlmftHPukt7yNfQQ/naI/PIfBDuM8+d76/qefM6ifKmqvlfRNoWnBkXpvRQ+bO01U0sqPBJtpR2Ugrb/Es0NYI6IYpDx4vebNPgPXQVWkuk4LwBUeb/9+rnqTWlInjSQgeRhB6nGOZI1h2c0VfdN5RfxuZU586Iw6/lWAcav9sbpPd2at+QVozDD0QKC7kO4jk5bZUdhP5ZJVQzTOoGX69p9zOzEKcBlxoe0aSR/09MWDRpoWit//WPff+tB0CW3yXCo59dkv17q851PqTpmzrNOvGKLO2NhphFdo7Sz24qhrLEcfRaFPCBO5hBl2v41ZdYNyC/RlyiNrY2lvGq1X+hWpP3Xr87zoPHeah2TVBdwxeTdbFCnASGQj9X0a1r0ANW+sonlbjp60wvO9NVP0uU6PWD9lm2wDJBkE5pww/2rPlPgMAWwOmJ7QHPvxVcObpRpljCL3LT/pNLZ7PZ1KVGibe7uM3ZjW1/lPkNvIV/FRay7mGtBQlG0fba5muRoCOPASUTDfHgjKbs4cA5J9Y3r7OdeSQ3t45KfBHAl4iW3W3akST+Du/P3wg1I38oXdQ4WHxKTDn61r5iYevqfcmE3sI1+ffjS7gyB7I31sIyRscF1WKI1B+2MSfWzTa2w7lK5ndM=----ATTACHMENT:----MjM3NjMxMjc1MDg5ODk1IDg2Mjg0NjUyMTE1MTg0MzggNjY0NDU0MzE0ODQ4MTAyMw==