getConstants(); } catch (\ReflectionException $e) { Log::error(__METHOD__, [$e->getMessage(),$e->getCode()]); } } if (isset(self::$instance[$name])) { $format = self::$instance[$name]; } else { $format = ''; } return vsprintf($format, $arguments); } }