PHP Class Prose\UsingRolesTable

Inheritance: extends Prose
Show file Open project: datasift/storyplayer

Protected Properties

Property Type Description
$entryKey string entryKey The key that this table interacts with in the RuntimeConfig

Public Methods

Method Description
addHostToRole ( object $hostDetails, string $roleName ) : void addHost
removeHostFromAllRoles ( $hostId )
removeHostFromRole ( string $hostId, string $roleName ) : void removeRole

Method Details

addHostToRole() public method

addHost
public addHostToRole ( object $hostDetails, string $roleName ) : void
$hostDetails object Details about the host to add to the role
$roleName string Role name to add
return void

removeHostFromAllRoles() public method

public removeHostFromAllRoles ( $hostId )

removeHostFromRole() public method

removeRole
public removeHostFromRole ( string $hostId, string $roleName ) : void
$hostId string ID of the host to remove
$roleName string Role name to remove
return void

Property Details

$entryKey protected property

entryKey The key that this table interacts with in the RuntimeConfig
protected string $entryKey
return string