classRevokeWithRevokeIfExistsRoleOrPrivilegeListFromUserListOptIgnoreUnknownUser_c2541d92
final class RevokeWithRevokeIfExistsRoleOrPrivilegeListFromUserListOptIgnoreUnknownUser_c2541d92
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\RevokeWithRevokeIfExistsRoleOrPrivilegeListFromUserListOptIgnoreUnknownUser_c2541d92 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public IfExistsForm $ifExistspublic RoleOrPrivilegeListForm $roleOrPrivilegeListpublic UserListForm $userListpublic OptIgnoreUnknownUserForm $optIgnoreUnknownUserpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public IfExistsForm $ifExists,
public RoleOrPrivilegeListForm $roleOrPrivilegeList,
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 | |
$roleOrPrivilegeList | RoleOrPrivilegeListForm | |
$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 RoleOrPrivilegeListForm::write() line 45
- method-call UserListForm::write() line 49
- method-call OptIgnoreUnknownUserForm::write() line 51
public function withIfExists(IfExistsForm $ifExists): selfReturns a copy with a new ifExists, preserving every other field.
Parameters
$ifExists | IfExistsForm |
Returns
selfCalls 1
- new
selfline 59
public function withRoleOrPrivilegeList(RoleOrPrivilegeListForm $roleOrPrivilegeList): selfReturns a copy with a new roleOrPrivilegeList, preserving every other field.
Parameters
$roleOrPrivilegeList | RoleOrPrivilegeListForm |
Returns
selfCalls 1
- new
selfline 67
public function withUserList(UserListForm $userList): selfReturns a copy with a new userList, preserving every other field.
Parameters
$userList | UserListForm |
Returns
selfCalls 1
- new
selfline 75
public function withOptIgnoreUnknownUser(OptIgnoreUnknownUserForm $optIgnoreUnknownUser): selfReturns a copy with a new optIgnoreUnknownUser, preserving every other field.
Parameters
$optIgnoreUnknownUser | OptIgnoreUnknownUserForm |
Returns
selfCalls 1
- new
selfline 83