ApiGen\Parser\Reflection\ReflectionClass::getConstantReflection PHP Метод

getConstantReflection() публичный метод

public getConstantReflection ( $name )
    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()));
    }