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