classOptCharsetWithOptBinaryWithCharacterSetCharsetNameOptBinMod_5634910c
final class OptCharsetWithOptBinaryWithCharacterSetCharsetNameOptBinMod_5634910c
implements OptCharsetWithOptBinaryForm
uses Assertion
Public API: explicitly declared with
@visibility public.The opt_charset_with_opt_binary SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\OptCharsetWithOptBinaryWithCharacterSetCharsetNameOptBinMod_5634910c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public CharacterSetForm $characterSetpublic CharsetNameForm $charsetNamepublic OptBinModForm $optBinModpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public CharacterSetForm $characterSet,
public CharsetNameForm $charsetName,
public OptBinModForm $optBinMod,
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
$characterSet | CharacterSetForm | |
$charsetName | CharsetNameForm | |
$optBinMod | OptBinModForm | |
$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 CharacterSetForm::write() line 39
- method-call CharsetNameForm::write() line 41
- method-call OptBinModForm::write() line 43
public function withCharacterSet(CharacterSetForm $characterSet): selfReturns a copy with a new characterSet, preserving every other field.
Parameters
$characterSet | CharacterSetForm |
Returns
selfCalls 1
- new
selfline 51
public function withCharsetName(CharsetNameForm $charsetName): selfReturns a copy with a new charsetName, preserving every other field.
Parameters
$charsetName | CharsetNameForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptBinMod(OptBinModForm $optBinMod): selfReturns a copy with a new optBinMod, preserving every other field.
Parameters
$optBinMod | OptBinModForm |
Returns
selfCalls 1
- new
selfline 67