public static function get($name, $default = null){

        $dots = null;

        if ($pos = strpos($name, '.')) {
            $dots = substr($name, $pos + 1);
            $name = substr($name, 0, $pos);
        }

        if(isset($GLOBALS[ARX_HOOK][$name])){

            if ($dots) {
                return Arr::get($GLOBALS[ARX_HOOK][$name], $dots, $default);
            }

            return $GLOBALS[ARX_HOOK][$name];
        }

        if ($default) {
            return $default;
        }

        return false;
    }