classSpProcStmtLeaveWithLeaveSymLabelIdent_1f97b4d7
final class SpProcStmtLeaveWithLeaveSymLabelIdent_1f97b4d7
implements EvSqlStmtForm, EvSqlStmtInnerForm, SpProcStmtForm, SpProcStmtLeaveForm, StoredRoutineBodyForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sp_proc_stmt_leave SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SpProcStmtLeaveWithLeaveSymLabelIdent_1f97b4d7 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public LabelIdentForm $labelIdentpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public LabelIdentForm $labelIdent,
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
$labelIdent | LabelIdentForm | |
$comments | Comments |
Calls 3
- new Comments line 24
- method-call SpProcStmtLeaveWithLeaveSymLabelIdent_1f97b4d7::assert() line 26
- static-call Contracts::contains() line 26
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 3
- method-call Writer::comments() line 34
- method-call Writer::append() line 35
- method-call LabelIdentForm::write() line 37
public function withLabelIdent(LabelIdentForm $labelIdent): selfReturns a copy with a new labelIdent, preserving every other field.
Parameters
$labelIdent | LabelIdentForm |
Returns
selfCalls 1
- new
selfline 45