public function getConstant($name)
{
$constants = $this->getConstants();
if (!isset($constants[$name])) {
return null;
}
return $constants[$name];
}
/** * {@inheritDoc} */ public function getConstant($name) { return $this->betterReflectionClass->getConstant($name); }