Psecio\PropAuth\Enforcer::setPolicySet PHP Method

setPolicySet() public method

Set the current policy set (overrides, not appends)
public setPolicySet ( PolicySet $policySet ) : Enforcer
$policySet PolicySet Set of Policy objects
return Enforcer instance
    public function setPolicySet(\Psecio\PropAuth\PolicySet $policySet)
    {
        $this->policySet = $policySet;
        return $this;
    }