classStatementInformationWithStatementInformationStatementInformationItem_4bbc08fc
final class StatementInformationWithStatementInformationStatementInformationItem_4bbc08fc
implements DiagnosticsInformationForm, StatementInformationForm
uses Assertion
Public API: explicitly declared with
@visibility public.The statement_information SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\StatementInformationWithStatementInformationStatementInformationItem_4bbc08fc $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public StatementInformationForm $statementInformationpublic StatementInformationItemForm $statementInformationItempublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public StatementInformationForm $statementInformation,
public StatementInformationItemForm $statementInformationItem,
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
$statementInformation | StatementInformationForm | |
$statementInformationItem | StatementInformationItemForm | |
$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 StatementInformationForm::write() line 37
- method-call Writer::append() line 39
- method-call StatementInformationItemForm::write() line 41
public function withStatementInformation(StatementInformationForm $statementInformation): selfReturns a copy with a new statementInformation, preserving every other field.
Parameters
$statementInformation | StatementInformationForm |
Returns
selfCalls 1
- new
selfline 49
public function withStatementInformationItem(StatementInformationItemForm $statementInformationItem): selfReturns a copy with a new statementInformationItem, preserving every other field.
Parameters
$statementInformationItem | StatementInformationItemForm |
Returns
selfCalls 1
- new
selfline 57