src/DataStore/src/TableGateway/TableManagerMysql.php
public function getTableConfig($tableConfig)
    {
        if (is_string($tableConfig)) {
            $config = $this->getConfig();

            if (isset($config[self::KEY_TABLES_CONFIGS][$tableConfig])) {
                $tableConfig = $config[self::KEY_TABLES_CONFIGS][$tableConfig];
            } else {
                throw new InvalidArgumentException("Unknown table '{$tableConfig}' in config");
            }
        }

        return $tableConfig;
    }
public function getTableConfig($tableConfig)
    {
        if (is_string($tableConfig)) {
            $config = $this->getConfig();

            if (isset($config[self::KEY_TABLES_CONFIGS][$tableConfig])) {
                $tableConfig = $config[self::KEY_TABLES_CONFIGS][$tableConfig];
            } else {
                throw new InvalidArgumentException("Unknown table '{$tableConfig}' in config");
            }
        }

        return $tableConfig;
    }
public function getTableConfig ( $ tableConfig ) { if ( is_string ( $ tableConfig ) ) { $ config = $ this -> getConfig ( ) ; if ( isset ( $ config [ self :: KEY_TABLES_CONFIGS ] [ $ tableConfig ] ) ) { $ tableConfig = $ config [ self :: KEY_TABLES_CONFIGS ] [ $ tableConfig ] ; } else { throw new InvalidArgumentException ( "Unknown table '{$tableConfig}' in config" ) ; } } return $ tableConfig ; }
Fetches the table config from common config of all the tables

@param $tableConfig
@return mixed
@throws Exception
Fetches the table config from common config of all the tables