protected function getCustomMethods()
    {
        $showDefaultView = true;
        $params = [self::$stack];

        unset($params[0]['trace'], $params[0]['preview']);

        $count = count(self::$customMethods);
        $customMethods = self::$customMethods;

        for ($i = 0; $i < $count; $i++) {
            $custom = $customMethods[$i];
            $class = isset($custom[0]) ? $custom[0] : false;
            $method = isset($custom[1]) ? $custom[1] : false;
            $repeat = $custom[2];
            $showDefault = $custom[3];

            if ($showDefault === false) {
                $showDefaultView = false;
            }

            if ($repeat === 0) {
                unset(self::$customMethods[$i]);
            } else {
                self::$customMethods[$i] = [$class, $method, $repeat--];
            }

            call_user_func_array([$class, $method], $params);
        }

        self::$customMethods = false;

        return $showDefaultView;
    }