classQuotedInput
final class QuotedInput
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Preserves literal and comment spans before PDO operator detection.
Methods§
public function consumeIgnored(EscapeCursor $cursor): boolCopies whitespace or a comment without changing the operand context.
Parameters
$cursor | EscapeCursor |
Returns
boolTest cases 1
Called from 1
Calls 5
- function-call
ctype_spaceline 24 - method-call EscapeCursor::preserve() line 25
- function-call
substrline 28 - function-call
strcspnline 30 - static-call CommentSpan::end() line 34
public function consumeQuoted(EscapeCursor $cursor): boolCopies quoted strings and identifiers as single operands.
Parameters
$cursor | EscapeCursor |
Returns
boolTest cases 1
Called from 1
Calls 7
- static-call QuotedSpan::quotedLength() line 49
- function-call
substrline 49 - static-call TokenBoundary::isEscapeStringStart() line 49
- method-call EscapeCursor::preserve() line 50
- static-call TokenBoundary::dollarQuoteDelimiter() line 57
- function-call
strposline 61 - function-call
strlenline 61
Test cases 5§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 2
Other tests reaching this symbol 3
Relations§
Instantiated in 1
Method calls 2
- method-call ZtdQuery\Platform\Postgres\Connection\Parameter\PgSqlPdoPlaceholderEscaper::escape() packages/ztd-query-postgres/src/Connection/Parameter/PgSqlPdoPlaceholderEscaper.php:23
- method-call ZtdQuery\Platform\Postgres\Connection\Parameter\PgSqlPdoPlaceholderEscaper::escape() packages/ztd-query-postgres/src/Connection/Parameter/PgSqlPdoPlaceholderEscaper.php:23