classAlterUserStmtWithAlterUserCommandAlterUserListRequireClauseConnectOptionsOptAccountLockPassw_93f5dc3c
final class AlterUserStmtWithAlterUserCommandAlterUserListRequireClauseConnectOptionsOptAccountLockPassw_93f5dc3c
implements AlterUserStmtForm, EvSqlStmtForm, EvSqlStmtInnerForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StoredRoutineBodyForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The alter_user_stmt SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterUserStmtWithAlterUserCommandAlterUserListRequireClauseConnectOptionsOptAccountLockPassw_93f5dc3c $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AlterUserCommandForm $alterUserCommandpublic AlterUserListForm $alterUserListpublic RequireClauseForm $requireClausepublic ConnectOptionsForm $connectOptionspublic OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptionspublic OptUserAttributeForm $optUserAttributepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AlterUserCommandForm $alterUserCommand,
public AlterUserListForm $alterUserList,
public RequireClauseForm $requireClause,
public ConnectOptionsForm $connectOptions,
public OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptions,
public OptUserAttributeForm $optUserAttribute,
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
$alterUserCommand | AlterUserCommandForm | |
$alterUserList | AlterUserListForm | |
$requireClause | RequireClauseForm | |
$connectOptions | ConnectOptionsForm | |
$optAccountLockPasswordExpireOptions | OptAccountLockPasswordExpireOptionsForm | |
$optUserAttribute | OptUserAttributeForm | |
$comments | Comments |
public function write(Writer $writer): voidWrites SQL entirely from this value's fields.
Parameters
$writer | Writer |
Calls 7
- method-call Writer::comments() line 44
- method-call AlterUserCommandForm::write() line 45
- method-call AlterUserListForm::write() line 47
- method-call RequireClauseForm::write() line 49
- method-call ConnectOptionsForm::write() line 51
- method-call OptAccountLockPasswordExpireOptionsForm::write() line 53
- method-call OptUserAttributeForm::write() line 55
public function withAlterUserCommand(AlterUserCommandForm $alterUserCommand): selfReturns a copy with a new alterUserCommand, preserving every other field.
Parameters
$alterUserCommand | AlterUserCommandForm |
Returns
selfCalls 1
- new
selfline 63
public function withAlterUserList(AlterUserListForm $alterUserList): selfReturns a copy with a new alterUserList, preserving every other field.
Parameters
$alterUserList | AlterUserListForm |
Returns
selfCalls 1
- new
selfline 71
public function withRequireClause(RequireClauseForm $requireClause): selfReturns a copy with a new requireClause, preserving every other field.
Parameters
$requireClause | RequireClauseForm |
Returns
selfCalls 1
- new
selfline 79
public function withConnectOptions(ConnectOptionsForm $connectOptions): selfReturns a copy with a new connectOptions, preserving every other field.
Parameters
$connectOptions | ConnectOptionsForm |
Returns
selfCalls 1
- new
selfline 87
public function withOptAccountLockPasswordExpireOptions(OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptions): selfReturns a copy with a new optAccountLockPasswordExpireOptions, preserving every other field.
Parameters
$optAccountLockPasswordExpireOptions | OptAccountLockPasswordExpireOptionsForm |
Returns
selfCalls 1
- new
selfline 95
public function withOptUserAttribute(OptUserAttributeForm $optUserAttribute): selfReturns a copy with a new optUserAttribute, preserving every other field.
Parameters
$optUserAttribute | OptUserAttributeForm |
Returns
selfCalls 1
- new
selfline 103