classShowParamWithOptFullColumnsFromOrInTableIdentOptDbOptWildOrWhere_7bda1aa6
final class ShowParamWithOptFullColumnsFromOrInTableIdentOptDbOptWildOrWhere_7bda1aa6
implements ShowParamForm
uses Assertion
Public API: explicitly declared with
@visibility public.The show_param SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ShowParamWithOptFullColumnsFromOrInTableIdentOptDbOptWildOrWhere_7bda1aa6 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public OptFullForm $optFullpublic string $columnspublic FromOrInForm $fromOrInpublic TableIdentForm $tableIdentpublic OptDbForm $optDbpublic OptWildOrWhereForm $optWildOrWherepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public OptFullForm $optFull,
public string $columns,
public FromOrInForm $fromOrIn,
public TableIdentForm $tableIdent,
public OptDbForm $optDb,
public OptWildOrWhereForm $optWildOrWhere,
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
$optFull | OptFullForm | |
$columns | string | |
$fromOrIn | FromOrInForm | |
$tableIdent | TableIdentForm | |
$optDb | OptDbForm | |
$optWildOrWhere | OptWildOrWhereForm | |
$comments | Comments |
Calls 5
- new Comments line 29
- method-call ShowParamWithOptFullColumnsFromOrInTableIdentOptDbOptWildOrWhere_7bda1aa6::assert() line 31
- static-call Contracts::contains() line 31
- method-call ShowParamWithOptFullColumnsFromOrInTableIdentOptDbOptWildOrWhere_7bda1aa6::assertMatchesPattern() line 32
- class-const Contracts::SPELLINGS() line 32
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 44
- method-call OptFullForm::write() line 45
- method-call Writer::append() line 47
- method-call FromOrInForm::write() line 49
- method-call TableIdentForm::write() line 51
- method-call OptDbForm::write() line 53
- method-call OptWildOrWhereForm::write() line 55
public function withOptFull(OptFullForm $optFull): selfReturns a copy with a new optFull, preserving every other field.
Parameters
$optFull | OptFullForm |
Returns
selfCalls 1
- new
selfline 63
public function withColumns(string $columns): selfReturns a copy with a new columns, preserving every other field.
Parameters
$columns | string |
Returns
selfCalls 1
- new
selfline 71
public function withFromOrIn(FromOrInForm $fromOrIn): selfReturns a copy with a new fromOrIn, preserving every other field.
Parameters
$fromOrIn | FromOrInForm |
Returns
selfCalls 1
- new
selfline 79
public function withTableIdent(TableIdentForm $tableIdent): selfReturns a copy with a new tableIdent, preserving every other field.
Parameters
$tableIdent | TableIdentForm |
Returns
selfCalls 1
- new
selfline 87
public function withOptDb(OptDbForm $optDb): selfpublic function withOptWildOrWhere(OptWildOrWhereForm $optWildOrWhere): selfReturns a copy with a new optWildOrWhere, preserving every other field.
Parameters
$optWildOrWhere | OptWildOrWhereForm |
Returns
selfCalls 1
- new
selfline 103