Skip to content

Instantly share code, notes, and snippets.

@mageekguy
Created December 16, 2014 12:57
Show Gist options
  • Save mageekguy/967ed36ae333871475ba to your computer and use it in GitHub Desktop.
Save mageekguy/967ed36ae333871475ba to your computer and use it in GitHub Desktop.
private static function isVariadic(\reflectionParameter $parameter)
{
return (method_exists($parameter, 'isVariadic') && $parameter->isVariadic());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment