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