classProfileDefsWithProfileDefsProfileDef_7aace7bf
final class ProfileDefsWithProfileDefsProfileDef_7aace7bf
implements OptProfileDefsForm, ProfileDefsForm
uses Assertion
Public API: explicitly declared with
@visibility public.The profile_defs SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\ProfileDefsWithProfileDefsProfileDef_7aace7bf $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public ProfileDefsForm $profileDefspublic ProfileDefForm $profileDefpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public ProfileDefsForm $profileDefs,
public ProfileDefForm $profileDef,
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
$profileDefs | ProfileDefsForm | |
$profileDef | ProfileDefForm | |
$comments | Comments |
Calls 3
- new Comments line 25
- method-call ProfileDefsWithProfileDefsProfileDef_7aace7bf::assert() line 27
- static-call Contracts::contains() line 27
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 4
- method-call Writer::comments() line 36
- method-call ProfileDefsForm::write() line 37
- method-call Writer::append() line 39
- method-call ProfileDefForm::write() line 41
public function withProfileDefs(ProfileDefsForm $profileDefs): selfReturns a copy with a new profileDefs, preserving every other field.
Parameters
$profileDefs | ProfileDefsForm |
Returns
selfCalls 1
- new
selfline 49
public function withProfileDef(ProfileDefForm $profileDef): selfReturns a copy with a new profileDef, preserving every other field.
Parameters
$profileDef | ProfileDefForm |
Returns
selfCalls 1
- new
selfline 57