classDescribeWithDescribeCommandOptExtendedDescribeExplainableCommand_109eb1e8
final class DescribeWithDescribeCommandOptExtendedDescribeExplainableCommand_109eb1e8
implements DescribeForm, EvSqlStmtForm, EvSqlStmtInnerForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The describe SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\DescribeWithDescribeCommandOptExtendedDescribeExplainableCommand_109eb1e8 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public DescribeCommandForm $describeCommandpublic OptExtendedDescribeForm $optExtendedDescribepublic ExplainableCommandForm $explainableCommandpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public DescribeCommandForm $describeCommand,
public OptExtendedDescribeForm $optExtendedDescribe,
public ExplainableCommandForm $explainableCommand,
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
$describeCommand | DescribeCommandForm | |
$optExtendedDescribe | OptExtendedDescribeForm | |
$explainableCommand | ExplainableCommandForm | |
$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 38
- method-call DescribeCommandForm::write() line 39
- method-call OptExtendedDescribeForm::write() line 41
- method-call ExplainableCommandForm::write() line 43
public function withDescribeCommand(DescribeCommandForm $describeCommand): selfReturns a copy with a new describeCommand, preserving every other field.
Parameters
$describeCommand | DescribeCommandForm |
Returns
selfCalls 1
- new
selfline 51
public function withOptExtendedDescribe(OptExtendedDescribeForm $optExtendedDescribe): selfReturns a copy with a new optExtendedDescribe, preserving every other field.
Parameters
$optExtendedDescribe | OptExtendedDescribeForm |
Returns
selfCalls 1
- new
selfline 59
public function withExplainableCommand(ExplainableCommandForm $explainableCommand): selfReturns a copy with a new explainableCommand, preserving every other field.
Parameters
$explainableCommand | ExplainableCommandForm |
Returns
selfCalls 1
- new
selfline 67