PHP Class Psecio\PropAuth\Subject

ファイルを表示 Open project: psecio/propauth

Protected Properties

Property Type Description
$authStatus
$policies
$subject

Public Methods

Method Description
__construct ( $subject, $policies = null )
__get ( $name )
__isset ( $name )
can ( $policyName, $addl = null )
cannot ( $policyName, $addl = null )
getSubject ( )
isAuthed ( )
setAuth ( $status )
setPolicies ( PolicySet $policySet )

Method Details

__construct() public method

public __construct ( $subject, $policies = null )

__get() public method

public __get ( $name )

__isset() public method

public __isset ( $name )

can() public method

public can ( $policyName, $addl = null )

cannot() public method

public cannot ( $policyName, $addl = null )

getSubject() public method

public getSubject ( )

isAuthed() public method

public isAuthed ( )

setAuth() public method

public setAuth ( $status )

setPolicies() public method

public setPolicies ( PolicySet $policySet )
$policySet PolicySet

Property Details

$authStatus protected_oe property

protected $authStatus

$policies protected_oe property

protected $policies

$subject protected_oe property

protected $subject