src/Beautifier/Template/Line.php
private function getTokens(string $word): array
    {
        $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;

        return (array) preg_split(self::TOKEN_DELIMITER, $word, -1, $flags);
    }
private function getTokens(string $word): array
    {
        $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;

        return (array) preg_split(self::TOKEN_DELIMITER, $word, -1, $flags);
    }
private function getTokens ( string $ word ) : array { $ flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY ; return ( array ) preg_split ( self :: TOKEN_DELIMITER , $ word , - 1 , $ flags ) ; }
Devuelve los tokens que componen una palabra

@param string $word

@return mixed[]
Devuelve los tokens que componen una palabra