public function getConstants() { return array_map(function (IReflectionConstant $constant) { return $this->reflectionFactory->createFromReflection($constant); }, parent::getConstants()); }