public function addTableFromMapClass($tableMapClass)
    {
        $table = new $tableMapClass();
        if (!$this->hasTable($table->getName())) {
            $this->addTableObject($table);

            return $table;
        } else {
            return $this->getTable($table->getName());
        }
    }