PHP Class Prose\UsingRuntimeTableForTargetEnvironment

Author: Michael Heap ([email protected])
Inheritance: extends BaseRuntimeTable
Show file Open project: datasift/storyplayer

Public Methods

Method Description
addItem ( string $key, mixed $value ) : void addItem
addItemToGroup ( $group, string $key, mixed $value ) : void Add an item to a module's runtime config table
removeItem ( string $key ) : void removeItem
removeItemFromAllGroups ( string $key ) : void Removes an item from the runtimeConfig file
removeItemFromGroup ( $group, string $key ) : void Removes an item from the runtimeConfig file

Method Details

addItem() public method

Add an item to a module's runtime config table
public addItem ( string $key, mixed $value ) : void
$key string The key to save data under
$value mixed The value to save
return void

addItemToGroup() public method

Add an item to a module's runtime config table
public addItemToGroup ( $group, string $key, mixed $value ) : void
$key string The key to save data under
$value mixed The value to save
return void

removeItem() public method

Removes an item from the runtimeConfig file
public removeItem ( string $key ) : void
$key string The key that we want to remove
return void

removeItemFromAllGroups() public method

Removes an item from the runtimeConfig file
public removeItemFromAllGroups ( string $key ) : void
$key string The key that we want to remove
return void

removeItemFromGroup() public method

Removes an item from the runtimeConfig file
public removeItemFromGroup ( $group, string $key ) : void
$key string The key that we want to remove
return void