SqlFormatter::tokenize
Takes a SQL string and breaks it into tokens.
Each token is an associative array with type and value.
Signature
protected function tokenize(String
$string )
Parameters
$string
— object- The SQL string
Returns
- Array
- An array of tokens.