public function getConstantReflection($name)
{
if (isset($this->getConstants()[$name])) {
return $this->getConstants()[$name];
}
throw new InvalidArgumentException(sprintf('Constant %s does not exist in class %s', $name, $this->reflection->getName()));
}