src/PolicySet.php
public function add($policyName, \Psecio\PropAuth\Policy $policy)
	{
		$this->policies[$policyName] = $policy;
		return $this;
	}
public function add($policyName, \Psecio\PropAuth\Policy $policy)
	{
		$this->policies[$policyName] = $policy;
		return $this;
	}
public function add ( $ policyName , \ Psecio \ PropAuth \ Policy $ policy ) { $ this -> policies [ $ policyName ] = $ policy ; return $ this ; }
Add a new policy to the current set with the given key name

@param string $policyName Policy name (key)
@param \Psecio\PropAuth\Policy $policy Policy object instance
Add a new policy to the current set with the given key name