classRoleOrPrivilegeListWithRoleOrPrivilegeListRoleOrPrivilege_c60e40d5
final class RoleOrPrivilegeListWithRoleOrPrivilegeListRoleOrPrivilege_c60e40d5
implements RoleOrPrivilegeListForm
uses Assertion
Public API: explicitly declared with
@visibility public.The role_or_privilege_list SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\MySql\Value\RoleOrPrivilegeListWithRoleOrPrivilegeListRoleOrPrivilege_c60e40d5 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public RoleOrPrivilegeListForm $roleOrPrivilegeListpublic RoleOrPrivilegeForm $roleOrPrivilegepublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public RoleOrPrivilegeListForm $roleOrPrivilegeList,
public RoleOrPrivilegeForm $roleOrPrivilege,
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
$roleOrPrivilegeList | RoleOrPrivilegeListForm | |
$roleOrPrivilege | RoleOrPrivilegeForm | |
$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 36
- method-call RoleOrPrivilegeListForm::write() line 37
- method-call Writer::append() line 39
- method-call RoleOrPrivilegeForm::write() line 41
public function withRoleOrPrivilegeList(RoleOrPrivilegeListForm $roleOrPrivilegeList): selfReturns a copy with a new roleOrPrivilegeList, preserving every other field.
Parameters
$roleOrPrivilegeList | RoleOrPrivilegeListForm |
Returns
selfCalls 1
- new
selfline 49
public function withRoleOrPrivilege(RoleOrPrivilegeForm $roleOrPrivilege): selfReturns a copy with a new roleOrPrivilege, preserving every other field.
Parameters
$roleOrPrivilege | RoleOrPrivilegeForm |
Returns
selfCalls 1
- new
selfline 57