classSpTailWithProcedureSymSpNameSpPdparamListSpCChisticsSpProcStmt_731a2fe0
final class SpTailWithProcedureSymSpNameSpPdparamListSpCChisticsSpProcStmt_731a2fe0
implements DefinerTailForm, NoDefinerTailForm, SpTailForm
uses Assertion
Public API: explicitly declared with
@visibility public.The sp_tail SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\SpTailWithProcedureSymSpNameSpPdparamListSpCChisticsSpProcStmt_731a2fe0 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public SpNameForm $spNamepublic SpPdparamListForm $spPdparamListpublic SpCChisticsForm $spCChisticspublic SpProcStmtForm $spProcStmtpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public SpNameForm $spName,
public SpPdparamListForm $spPdparamList,
public SpCChisticsForm $spCChistics,
public SpProcStmtForm $spProcStmt,
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
$spName | SpNameForm | |
$spPdparamList | SpPdparamListForm | |
$spCChistics | SpCChisticsForm | |
$spProcStmt | SpProcStmtForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call Writer::append() line 41
- method-call SpNameForm::write() line 43
- method-call SpPdparamListForm::write() line 47
- method-call SpCChisticsForm::write() line 51
- method-call SpProcStmtForm::write() line 53
public function withSpName(SpNameForm $spName): selfReturns a copy with a new spName, preserving every other field.
Parameters
$spName | SpNameForm |
Returns
selfCalls 1
- new
selfline 61
public function withSpPdparamList(SpPdparamListForm $spPdparamList): selfReturns a copy with a new spPdparamList, preserving every other field.
Parameters
$spPdparamList | SpPdparamListForm |
Returns
selfCalls 1
- new
selfline 69
public function withSpCChistics(SpCChisticsForm $spCChistics): selfReturns a copy with a new spCChistics, preserving every other field.
Parameters
$spCChistics | SpCChisticsForm |
Returns
selfCalls 1
- new
selfline 77
public function withSpProcStmt(SpProcStmtForm $spProcStmt): selfReturns a copy with a new spProcStmt, preserving every other field.
Parameters
$spProcStmt | SpProcStmtForm |
Returns
selfCalls 1
- new
selfline 85