classGetDiagnosticsWithGetSymWhichAreaDiagnosticsSymDiagnosticsInformation_146255d5
final class GetDiagnosticsWithGetSymWhichAreaDiagnosticsSymDiagnosticsInformation_146255d5
implements EvSqlStmtForm, EvSqlStmtInnerForm, GetDiagnosticsForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The get_diagnostics SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\GetDiagnosticsWithGetSymWhichAreaDiagnosticsSymDiagnosticsInformation_146255d5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public WhichAreaForm $whichAreapublic DiagnosticsInformationForm $diagnosticsInformationpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public WhichAreaForm $whichArea,
public DiagnosticsInformationForm $diagnosticsInformation,
public Comments $comments = new \SqlSemantics\Statement\Comments(),
)Supplies the SQL values of this form; comments are kept by the position of the symbol each precedes.
Parameters
$whichArea | WhichAreaForm | |
$diagnosticsInformation | DiagnosticsInformationForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call Writer::append() line 37
- method-call WhichAreaForm::write() line 39
- method-call DiagnosticsInformationForm::write() line 43
public function withWhichArea(WhichAreaForm $whichArea): selfReturns a copy with a new whichArea, preserving every other field.
Parameters
$whichArea | WhichAreaForm |
Returns
selfCalls 1
- new
selfline 51
public function withDiagnosticsInformation(DiagnosticsInformationForm $diagnosticsInformation): selfReturns a copy with a new diagnosticsInformation, preserving every other field.
Parameters
$diagnosticsInformation | DiagnosticsInformationForm |
Returns
selfCalls 1
- new
selfline 59