PHP Class Prose\UsingHostsTable

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
addHost ( string $hostId, object $hostDetails ) : void addHost
removeHost ( string $hostId ) : void removeHost

Method Details

addHost() public method

addHost
public addHost ( string $hostId, object $hostDetails ) : void
$hostId string ID of the host to add to the table
$hostDetails object Details about this host
return void

removeHost() public method

removeHost
public removeHost ( string $hostId ) : void
$hostId string ID of the host 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