src/Beautifier/Parser/Parser.php
public function decorate(Token $token): string
    {
        $style = $token->style();
        $value = $token->value();

        foreach ($this->decorators as $decorator) {
            $value = $decorator->decorate($style, $value);
        }

        return $value;
    }
public function decorate(Token $token): string
    {
        $style = $token->style();
        $value = $token->value();

        foreach ($this->decorators as $decorator) {
            $value = $decorator->decorate($style, $value);
        }

        return $value;
    }
public function decorate ( Token $ token ) : string { $ style = $ token -> style ( ) ; $ value = $ token -> value ( ) ; foreach ( $ this -> decorators as $ decorator ) { $ value = $ decorator -> decorate ( $ style , $ value ) ; } return $ value ; }
Devuelve un token parseado

@param \PlanB\Beautifier\Template\Token $token

@return string
Devuelve un token parseado