You can pass a string of constant name, or pass an array of the constant names to whitelist
public whitelistConst ( string | array $name ) | ||
$name | string | array | String of constant name or array of constant names to whitelist |
public whitelistConst ( string | array $name ) | ||
$name | string | array | String of constant name or array of constant names to whitelist |