classSourceDefWithChangeReplicationSourceHeartbeatPeriodEqNumLiteral_0f59b648
final class SourceDefWithChangeReplicationSourceHeartbeatPeriodEqNumLiteral_0f59b648
implements SourceDefForm, SourceDefsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The source_def SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SourceDefWithChangeReplicationSourceHeartbeatPeriodEqNumLiteral_0f59b648 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ChangeReplicationSourceHeartbeatPeriodForm $changeReplicationSourceHeartbeatPeriodpublic NumLiteralForm $numLiteralpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ChangeReplicationSourceHeartbeatPeriodForm $changeReplicationSourceHeartbeatPeriod,
public NumLiteralForm $numLiteral,
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
$changeReplicationSourceHeartbeatPeriod | ChangeReplicationSourceHeartbeatPeriodForm | |
$numLiteral | NumLiteralForm | |
$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 ChangeReplicationSourceHeartbeatPeriodForm::write() line 37
- method-call Writer::append() line 39
- method-call NumLiteralForm::write() line 41
public function withChangeReplicationSourceHeartbeatPeriod(ChangeReplicationSourceHeartbeatPeriodForm $changeReplicationSourceHeartbeatPeriod): selfReturns a copy with a new changeReplicationSourceHeartbeatPeriod, preserving every other field.
Parameters
$changeReplicationSourceHeartbeatPeriod | ChangeReplicationSourceHeartbeatPeriodForm |
Returns
selfCalls 1
- new
selfline 49
public function withNumLiteral(NumLiteralForm $numLiteral): selfReturns a copy with a new numLiteral, preserving every other field.
Parameters
$numLiteral | NumLiteralForm |
Returns
selfCalls 1
- new
selfline 57