classRevokeWithRevokeIfExistsProxySymOnSymUserFromUserListOptIgnoreUnknownUser_19de934f
final class RevokeWithRevokeIfExistsProxySymOnSymUserFromUserListOptIgnoreUnknownUser_19de934f
implements EvSqlStmtForm, EvSqlStmtInnerForm, RevokeForm, SimpleStatementForm, SimpleStatementOrBeginForm, SpProcStmtForm, SpProcStmtStatementForm, StatementForm, StoredRoutineBodyForm, VerbClauseForm, Command
uses Assertion
Public API: explicitly declared with
@visibility public.The revoke SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\RevokeWithRevokeIfExistsProxySymOnSymUserFromUserListOptIgnoreUnknownUser_19de934f $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IfExistsForm $ifExistspublic UserForm $userpublic UserListForm $userListpublic OptIgnoreUnknownUserForm $optIgnoreUnknownUserpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IfExistsForm $ifExists,
public UserForm $user,
public UserListForm $userList,
public OptIgnoreUnknownUserForm $optIgnoreUnknownUser,
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
$ifExists | IfExistsForm | |
$user | UserForm | |
$userList | UserListForm | |
$optIgnoreUnknownUser | OptIgnoreUnknownUserForm | |
$comments | Comments |
Calls 3
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 Writer::append() line 41
- method-call IfExistsForm::write() line 43
- method-call UserForm::write() line 49
- method-call UserListForm::write() line 53
- method-call OptIgnoreUnknownUserForm::write() line 55
public function withIfExists(IfExistsForm $ifExists): selfReturns a copy with a new ifExists, preserving every other field.
Parameters
$ifExists | IfExistsForm |
Returns
selfCalls 1
- new
selfline 63
public function withUser(UserForm $user): selfpublic function withUserList(UserListForm $userList): selfReturns a copy with a new userList, preserving every other field.
Parameters
$userList | UserListForm |
Returns
selfCalls 1
- new
selfline 79
public function withOptIgnoreUnknownUser(OptIgnoreUnknownUserForm $optIgnoreUnknownUser): selfReturns a copy with a new optIgnoreUnknownUser, preserving every other field.
Parameters
$optIgnoreUnknownUser | OptIgnoreUnknownUserForm |
Returns
selfCalls 1
- new
selfline 87