src/Beautifier/Template/Line.php
public function getWidth(): int
    {
        $total = 0;
        foreach ($this as $token) {
            $total += $token->width();
        }

        return $total;
    }
public function getWidth(): int
    {
        $total = 0;
        foreach ($this as $token) {
            $total += $token->width();
        }

        return $total;
    }
public function getWidth ( ) : int { $ total = 0 ; foreach ( $ this as $ token ) { $ total += $ token -> width ( ) ; } return $ total ; }
Devuelve el ancho del linea

@return int
Devuelve el ancho del linea