private static function tokenToSqlString($token) { return $token['type'] === self::VALUE_WILDCARD ? '%' : $token['value']; }