classKeyDefWithFulltextOptKeyOrIndexOptIdentInitKeyOptionsKeyListFulltextKeyOptions_cc58d1be
final class KeyDefWithFulltextOptKeyOrIndexOptIdentInitKeyOptionsKeyListFulltextKeyOptions_cc58d1be
implements CreateFieldListForm, FieldListForm, FieldListItemForm, KeyDefForm
uses Assertion
Public API: explicitly declared with
@visibility public.The key_def SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\KeyDefWithFulltextOptKeyOrIndexOptIdentInitKeyOptionsKeyListFulltextKeyOptions_cc58d1be $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public FulltextForm $fulltextpublic OptKeyOrIndexForm $optKeyOrIndexpublic OptIdentForm $optIdentpublic InitKeyOptionsForm $initKeyOptionspublic KeyListForm $keyListpublic FulltextKeyOptionsForm $fulltextKeyOptionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public FulltextForm $fulltext,
public OptKeyOrIndexForm $optKeyOrIndex,
public OptIdentForm $optIdent,
public InitKeyOptionsForm $initKeyOptions,
public KeyListForm $keyList,
public FulltextKeyOptionsForm $fulltextKeyOptions,
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
$fulltext | FulltextForm | |
$optKeyOrIndex | OptKeyOrIndexForm | |
$optIdent | OptIdentForm | |
$initKeyOptions | InitKeyOptionsForm | |
$keyList | KeyListForm | |
$fulltextKeyOptions | FulltextKeyOptionsForm | |
$comments | Comments |
Calls 3
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 8
- method-call Writer::comments() line 44
- method-call FulltextForm::write() line 45
- method-call OptKeyOrIndexForm::write() line 47
- method-call OptIdentForm::write() line 49
- method-call InitKeyOptionsForm::write() line 51
- method-call Writer::append() line 53
- method-call KeyListForm::write() line 55
- method-call FulltextKeyOptionsForm::write() line 59
public function withFulltext(FulltextForm $fulltext): selfReturns a copy with a new fulltext, preserving every other field.
Parameters
$fulltext | FulltextForm |
Returns
selfCalls 1
- new
selfline 67
public function withOptKeyOrIndex(OptKeyOrIndexForm $optKeyOrIndex): selfReturns a copy with a new optKeyOrIndex, preserving every other field.
Parameters
$optKeyOrIndex | OptKeyOrIndexForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptIdent(OptIdentForm $optIdent): selfReturns a copy with a new optIdent, preserving every other field.
Parameters
$optIdent | OptIdentForm |
Returns
selfCalls 1
- new
selfline 83
public function withInitKeyOptions(InitKeyOptionsForm $initKeyOptions): selfReturns a copy with a new initKeyOptions, preserving every other field.
Parameters
$initKeyOptions | InitKeyOptionsForm |
Returns
selfCalls 1
- new
selfline 91
public function withKeyList(KeyListForm $keyList): selfReturns a copy with a new keyList, preserving every other field.
Parameters
$keyList | KeyListForm |
Returns
selfCalls 1
- new
selfline 99
public function withFulltextKeyOptions(FulltextKeyOptionsForm $fulltextKeyOptions): selfReturns a copy with a new fulltextKeyOptions, preserving every other field.
Parameters
$fulltextKeyOptions | FulltextKeyOptionsForm |
Returns
selfCalls 1
- new
selfline 107