Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 991
Zeile 70... Zeile 70...
70
    }
70
    }
Zeile 71... Zeile 71...
71
 
71
 
72
    /**
72
    /**
73
     * @return \Stringable|string
73
     * @return \Stringable|string
74
     *
74
     *
75
     * @throws \RuntimeException
75
     * @throws NoMatchingRendererException
76
     */
76
     */
77
    private function renderNode(Node $node)
77
    private function renderNode(Node $node)
78
    {
78
    {
Zeile 83... Zeile 83...
83
            if (($result = $renderer->render($node, $this)) !== null) {
83
            if (($result = $renderer->render($node, $this)) !== null) {
84
                return $result;
84
                return $result;
85
            }
85
            }
86
        }
86
        }
Zeile 87... Zeile 87...
87
 
87
 
88
        throw new \RuntimeException('Unable to find corresponding renderer for node type ' . \get_class($node));
88
        throw new NoMatchingRendererException('Unable to find corresponding renderer for node type ' . \get_class($node));
Zeile 89... Zeile 89...
89
    }
89
    }
90
 
90
 
91
    public function getBlockSeparator(): string
91
    public function getBlockSeparator(): string