classAlterUserStmtWithAlterUserCommandUserFuncOptUserRegistration_debaabcf
final class AlterUserStmtWithAlterUserCommandUserFuncOptUserRegistration_debaabcf
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\AlterUserStmtWithAlterUserCommandUserFuncOptUserRegistration_debaabcf $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public AlterUserCommandForm $alterUserCommandpublic UserFuncForm $userFuncpublic OptUserRegistrationForm $optUserRegistrationpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public AlterUserCommandForm $alterUserCommand,
public UserFuncForm $userFunc,
public OptUserRegistrationForm $optUserRegistration,
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 | |
$userFunc | UserFuncForm | |
$optUserRegistration | OptUserRegistrationForm | |
$comments | Comments |
Calls 3
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 AlterUserCommandForm::write() line 39
- method-call UserFuncForm::write() line 41
- method-call OptUserRegistrationForm::write() line 43
public function withAlterUserCommand(AlterUserCommandForm $alterUserCommand): selfReturns a copy with a new alterUserCommand, preserving every other field.
Parameters
$alterUserCommand | AlterUserCommandForm |
Returns
selfCalls 1
- new
selfline 51
public function withUserFunc(UserFuncForm $userFunc): selfReturns a copy with a new userFunc, preserving every other field.
Parameters
$userFunc | UserFuncForm |
Returns
selfCalls 1
- new
selfline 59
public function withOptUserRegistration(OptUserRegistrationForm $optUserRegistration): selfReturns a copy with a new optUserRegistration, preserving every other field.
Parameters
$optUserRegistration | OptUserRegistrationForm |
Returns
selfCalls 1
- new
selfline 67