classAlterUserWithUserIdentifiedByRandomPasswordReplaceSymTextStringPasswordOptRetainCurrentP_e51a5595
final class AlterUserWithUserIdentifiedByRandomPasswordReplaceSymTextStringPasswordOptRetainCurrentP_e51a5595
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\AlterUserWithUserIdentifiedByRandomPasswordReplaceSymTextStringPasswordOptRetainCurrentP_e51a5595 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public UserForm $userpublic IdentifiedByRandomPasswordForm $identifiedByRandomPasswordpublic TextStringPasswordForm $textStringPasswordpublic OptRetainCurrentPasswordForm $optRetainCurrentPasswordpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public UserForm $user,
public IdentifiedByRandomPasswordForm $identifiedByRandomPassword,
public TextStringPasswordForm $textStringPassword,
public OptRetainCurrentPasswordForm $optRetainCurrentPassword,
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 | |
$identifiedByRandomPassword | IdentifiedByRandomPasswordForm | |
$textStringPassword | TextStringPasswordForm | |
$optRetainCurrentPassword | OptRetainCurrentPasswordForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 6
- method-call Writer::comments() line 40
- method-call UserForm::write() line 41
- method-call IdentifiedByRandomPasswordForm::write() line 43
- method-call Writer::append() line 45
- method-call TextStringPasswordForm::write() line 47
- method-call OptRetainCurrentPasswordForm::write() line 49
public function withUser(UserForm $user): selfpublic function withIdentifiedByRandomPassword(IdentifiedByRandomPasswordForm $identifiedByRandomPassword): selfReturns a copy with a new identifiedByRandomPassword, preserving every other field.
Parameters
$identifiedByRandomPassword | IdentifiedByRandomPasswordForm |
Returns
selfCalls 1
- new
selfline 65
public function withTextStringPassword(TextStringPasswordForm $textStringPassword): selfReturns a copy with a new textStringPassword, preserving every other field.
Parameters
$textStringPassword | TextStringPasswordForm |
Returns
selfCalls 1
- new
selfline 73
public function withOptRetainCurrentPassword(OptRetainCurrentPasswordForm $optRetainCurrentPassword): selfReturns a copy with a new optRetainCurrentPassword, preserving every other field.
Parameters
$optRetainCurrentPassword | OptRetainCurrentPasswordForm |
Returns
selfCalls 1
- new
selfline 81