classAlterUserWithUserDropFactorDropFactor_be850b18
final class AlterUserWithUserDropFactorDropFactor_be850b18
implements AlterUserForm, AlterUserListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_user SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterUserWithUserDropFactorDropFactor_be850b18 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public UserForm $userpublic FactorForm $factorpublic FactorForm $factor2public Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public UserForm $user,
public FactorForm $factor,
public FactorForm $factor2,
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
$user | UserForm | |
$factor | FactorForm | |
$factor2 | FactorForm | |
$comments | Comments |
Calls 3
- new Comments line 26
- method-call AlterUserWithUserDropFactorDropFactor_be850b18::assert() line 28
- static-call Contracts::contains() line 28
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 UserForm::write() line 39
- method-call Writer::append() line 41
- method-call FactorForm::write() line 43
public function withUser(UserForm $user): selfpublic function withFactor(FactorForm $factor): selfReturns a copy with a new factor, preserving every other field.
Parameters
$factor | FactorForm |
Returns
selfCalls 1
- new
selfline 63
public function withFactor2(FactorForm $factor2): selfReturns a copy with a new factor2, preserving every other field.
Parameters
$factor2 | FactorForm |
Returns
selfCalls 1
- new
selfline 71