PHP Class Psecio\PropAuth\PolicySet

Inheritance: implements ArrayAccess, implements Countable, implements Iterator
Show file Open project: psecio/propauth

Public Methods

Method Description
add ( string $policyName, Policy $policy ) Add a new policy to the current set with the given key name
count ( )
current ( )
instance ( ) : PolicySet Static method to fetch a new instance
key ( )
next ( )
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
rewind ( )
valid ( )

Method Details

add() public method

Add a new policy to the current set with the given key name
public add ( string $policyName, Policy $policy )
$policyName string Policy name (key)
$policy Policy Policy object instance

count() public method

public count ( )

current() public method

public current ( )

instance() public static method

Static method to fetch a new instance
public static instance ( ) : PolicySet
return PolicySet

key() public method

public key ( )

next() public method

public next ( )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

rewind() public method

public rewind ( )

valid() public method

public valid ( )