Psecio\PropAuth\Enforcer::__construct PHP Method

__construct() public method

Init the object, possibly with an optional policy set
public __construct ( PolicySet $policySet = null )
$policySet PolicySet Set of Policy instances [optional]
    public function __construct(\Psecio\PropAuth\PolicySet $policySet = null)
    {
        if ($policySet !== null) {
            $this->setPolicySet($policySet);
        }
    }