public static function load($context = '')
{
if (empty($context)) {
$context = self::$defaultContext;
}
if ($context[0] !== '\\') {
// Short context name (must be formatted into class name).
$context = self::$contextPrefix . $context;
}
if (!class_exists($context)) {
throw new \Exception('Specified context ("' . $context . '") does not exist.');
}
self::$loadedContext = $context;
self::$KEYWORDS = $context::$KEYWORDS;
}