classDefAclActionWithRevokePrivilegesOnDefaclPrivilegeTargetFromGranteeListOptDropBehavior_b9e1ae22
final class DefAclActionWithRevokePrivilegesOnDefaclPrivilegeTargetFromGranteeListOptDropBehavior_b9e1ae22
implements DefAclActionForm
uses Assertion
Public API: explicitly declared with
@visibility public.The DefACLAction SQL value; generated by bin/build-models.php.
$write = static fn (\SqlSemantics\Statement\Model\PostgreSql\Value\DefAclActionWithRevokePrivilegesOnDefaclPrivilegeTargetFromGranteeListOptDropBehavior_b9e1ae22 $value): string => \SqlSemantics\Statement\Writer::render($value);
$write instanceof \Closure // => trueProperties§
public PrivilegesForm $privilegespublic DefaclPrivilegeTargetForm $defaclPrivilegeTargetpublic GranteeListForm $granteeListpublic OptDropBehaviorForm $optDropBehaviorpublic Comments $comments = new \SqlSemantics\Statement\Comments()Methods§
public function __construct(
public PrivilegesForm $privileges,
public DefaclPrivilegeTargetForm $defaclPrivilegeTarget,
public GranteeListForm $granteeList,
public OptDropBehaviorForm $optDropBehavior,
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
$privileges | PrivilegesForm | |
$defaclPrivilegeTarget | DefaclPrivilegeTargetForm | |
$granteeList | GranteeListForm | |
$optDropBehavior | OptDropBehaviorForm | |
$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 40
- method-call Writer::append() line 41
- method-call PrivilegesForm::write() line 43
- method-call DefaclPrivilegeTargetForm::write() line 47
- method-call GranteeListForm::write() line 51
- method-call OptDropBehaviorForm::write() line 53
public function withPrivileges(PrivilegesForm $privileges): selfReturns a copy with a new privileges, preserving every other field.
Parameters
$privileges | PrivilegesForm |
Returns
selfCalls 1
- new
selfline 61
public function withDefaclPrivilegeTarget(DefaclPrivilegeTargetForm $defaclPrivilegeTarget): selfReturns a copy with a new defaclPrivilegeTarget, preserving every other field.
Parameters
$defaclPrivilegeTarget | DefaclPrivilegeTargetForm |
Returns
selfCalls 1
- new
selfline 69
public function withGranteeList(GranteeListForm $granteeList): selfReturns a copy with a new granteeList, preserving every other field.
Parameters
$granteeList | GranteeListForm |
Returns
selfCalls 1
- new
selfline 77
public function withOptDropBehavior(OptDropBehaviorForm $optDropBehavior): selfReturns a copy with a new optDropBehavior, preserving every other field.
Parameters
$optDropBehavior | OptDropBehaviorForm |
Returns
selfCalls 1
- new
selfline 85