*/ class Config { /** * Cached config * * @var mixed[] */ protected static $config; /** * Return the cofnig * * @author Phil Burton * @return mixed[] */ public static function getconfig() { if (!static::$config) { static::$config = include SITE_ROOT . '/config/messages.php'; } return static::$config; } }