src/ViKon/Parser/Parser.php
public function render($text, $skin) {
        if ($this->renderer === null) {
            throw new ParserException('Renderer not set');
        }

        $tokenList = $this->parse($text);

        return $this->renderer->render($tokenList, $skin);
    }
public function render($text, $skin) {
        if ($this->renderer === null) {
            throw new ParserException('Renderer not set');
        }

        $tokenList = $this->parse($text);

        return $this->renderer->render($tokenList, $skin);
    }
public function render ( $ text , $ skin ) { if ( $ this -> renderer === null ) { throw new ParserException ( 'Renderer not set' ) ; } $ tokenList = $ this -> parse ( $ text ) ; return $ this -> renderer -> render ( $ tokenList , $ skin ) ; }
Parse text by provided rules and try to render token list

@param string $text raw data
@param string $skin used skin

@throws \ViKon\Parser\ParserException

@return string
Parse text by provided rules and try to render token list