public function createTablesFromConfig($config)
    {
        try{
            foreach ($config as $tableName => $className
            ) {
                $this->_addTable(new $className($tableName));
            }
        } catch(\Exception $e) {
            throw $e;
        }

        return $this;
    }
public function createTablesFromConfig($config)
    {
        try{
            foreach ($config as $tableName => $className
            ) {
                $this->_addTable(new $className($tableName));
            }
        } catch(\Exception $e) {
            throw $e;
        }

        return $this;
    }
public function createTablesFromConfig ( $ config ) { try { foreach ( $ config as $ tableName => $ className ) { $ this -> _addTable ( new $ className ( $ tableName ) ) ; } } catch ( \ Exception $ e ) { throw $ e ; } return $ this ; }
Creates tables from config

@param array $config Array config
array('connection_name'=>array(
'tables' => array(
'table_name' => 'table_class',
)))

@throws \Exception

@return $this
Creates tables from config