classAlterWithAlterUserCommandGrantListRequireClauseConnectOptionsOptAccountLockPasswordE_22514d6b
final class AlterWithAlterUserCommandGrantListRequireClauseConnectOptionsOptAccountLockPasswordE_22514d6b
implements AlterForm, EvSqlStmtForm, EvSqlStmtInnerForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm
uses Assertion
Public API: explicitly declared with
@visibility public.The alter SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\AlterWithAlterUserCommandGrantListRequireClauseConnectOptionsOptAccountLockPasswordE_22514d6b $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AlterUserCommandForm $alterUserCommandpublic GrantListForm $grantListpublic RequireClauseForm $requireClausepublic ConnectOptionsForm $connectOptionspublic OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptionspublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AlterUserCommandForm $alterUserCommand,
public GrantListForm $grantList,
public RequireClauseForm $requireClause,
public ConnectOptionsForm $connectOptions,
public OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptions,
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 | |
$grantList | GrantListForm | |
$requireClause | RequireClauseForm | |
$connectOptions | ConnectOptionsForm | |
$optAccountLockPasswordExpireOptions | OptAccountLockPasswordExpireOptionsForm | |
$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 42
- method-call AlterUserCommandForm::write() line 43
- method-call GrantListForm::write() line 45
- method-call RequireClauseForm::write() line 47
- method-call ConnectOptionsForm::write() line 49
- method-call OptAccountLockPasswordExpireOptionsForm::write() line 51
public function withAlterUserCommand(AlterUserCommandForm $alterUserCommand): selfReturns a copy with a new alterUserCommand, preserving every other field.
Parameters
$alterUserCommand | AlterUserCommandForm |
Returns
selfCalls 1
- new
selfline 59
public function withGrantList(GrantListForm $grantList): selfReturns a copy with a new grantList, preserving every other field.
Parameters
$grantList | GrantListForm |
Returns
selfCalls 1
- new
selfline 67
public function withRequireClause(RequireClauseForm $requireClause): selfReturns a copy with a new requireClause, preserving every other field.
Parameters
$requireClause | RequireClauseForm |
Returns
selfCalls 1
- new
selfline 75
public function withConnectOptions(ConnectOptionsForm $connectOptions): selfReturns a copy with a new connectOptions, preserving every other field.
Parameters
$connectOptions | ConnectOptionsForm |
Returns
selfCalls 1
- new
selfline 83
public function withOptAccountLockPasswordExpireOptions(OptAccountLockPasswordExpireOptionsForm $optAccountLockPasswordExpireOptions): selfReturns a copy with a new optAccountLockPasswordExpireOptions, preserving every other field.
Parameters
$optAccountLockPasswordExpireOptions | OptAccountLockPasswordExpireOptionsForm |
Returns
selfCalls 1
- new
selfline 91