SelfApprovalException
Thrown when a {@see \Milpa\Workflow\Entities\GatePassage}'s requester and approver would be the same opaque principal (e.g. "member:42") — the anti-self-approval constraint (D9).
SelfApprovalException::__construct()
public function __construct(string $principal, string $gateCode):Parameters
| Name | Type | Description |
|---|---|---|
| $principal | string | |
| $gateCode | string |
SelfApprovalException::getPrincipal()
public function getPrincipal(): stringSelfApprovalException::getGateCode()
public function getGateCode(): string