DataSift\Storyplayer\Cli\RuntimeConfigManager::getAllTables PHP Method

getAllTables() public method

Return our tables config that we can use for in place editing
public getAllTables ( $runtimeConfig ) : DataSift\Stone\ObjectLib\BaseObject
return DataSift\Stone\ObjectLib\BaseObject
    public function getAllTables($runtimeConfig)
    {
        // make sure the storyplayer section exists
        if (!isset($runtimeConfig->storyplayer)) {
            $runtimeConfig->storyplayer = new BaseObject();
        }
        // and that the tables section exists
        if (!isset($runtimeConfig->storyplayer->tables)) {
            $runtimeConfig->storyplayer->tables = new BaseObject();
        }
        return $runtimeConfig->storyplayer->tables;
    }