classDiagnosticKeywords
final class DiagnosticKeywords
Restricted visibility: declared "@visibility ZtdQuery\Platform\MySql". Code outside that scope must not name this declaration.
Diagnostic Keywords.
Methods§
public static function containsKeyword(
list<SqlToken> $tokens,
non-empty-list<string> $keywords,
): boolParameters
$tokens | list<SqlToken> | |
$keywords | non-empty-list<string> |
Returns
boolTest cases 1
Called from 2
- static-call ZtdQuery\Platform\MySql\Sql\Diagnostic\MySqlReadOnlyDiagnosticStatement::isSafe() packages/ztd-query-mysql/src/Sql/Diagnostic/MySqlReadOnlyDiagnosticStatement.php:46
- static-call ZtdQuery\Platform\MySql\Sql\Diagnostic\MySqlReadOnlyDiagnosticStatement::isSafe() packages/ztd-query-mysql/src/Sql/Diagnostic/MySqlReadOnlyDiagnosticStatement.php:50
Test cases 6§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 5
MySqlSessionFactoryTestcallsMySqlQueryGuardTestcallsMySqlRewriterTestcallsStatementRewriterTestcallsMySqlReadOnlyDiagnosticStatementTestcalls
Relations§
Static calls 2
- static-call ZtdQuery\Platform\MySql\Sql\Diagnostic\MySqlReadOnlyDiagnosticStatement::isSafe() packages/ztd-query-mysql/src/Sql/Diagnostic/MySqlReadOnlyDiagnosticStatement.php:46
- static-call ZtdQuery\Platform\MySql\Sql\Diagnostic\MySqlReadOnlyDiagnosticStatement::isSafe() packages/ztd-query-mysql/src/Sql/Diagnostic/MySqlReadOnlyDiagnosticStatement.php:50