DataSift\Storyplayer\Cli\RuntimeConfigManager::getAllTables PHP Méthode

getAllTables() public méthode

Return our tables config that we can use for in place editing
public getAllTables ( $runtimeConfig ) : DataSift\Stone\ObjectLib\BaseObject
Résultat 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;
    }