src/ImportAbstract.php
public function setTable($strTable)
    {
        
        if (!is_string($strTable)) {
            throw new Exception("Table de destination non définie", self::IMPORT_UNKNOWN_TABLE);
        }
        
        $infoTable = explode('.', $strTable);
        
        $schema = null;
        if (count($infoTable) == 2) {
            $schema = (new SchemaConfig())->setName($infoTable[0]);
            array_shift($infoTable);
        }
        
        $this->table = new Table($infoTable[0]);
        $this->table->addOption("collate", $this->getCharset());
        if ($schema) {
            $this->table->setSchemaConfig($schema);
        }
        
        return $this;
    }
public function setTable($strTable)
    {
        
        if (!is_string($strTable)) {
            throw new Exception("Table de destination non définie", self::IMPORT_UNKNOWN_TABLE);
        }
        
        $infoTable = explode('.', $strTable);
        
        $schema = null;
        if (count($infoTable) == 2) {
            $schema = (new SchemaConfig())->setName($infoTable[0]);
            array_shift($infoTable);
        }
        
        $this->table = new Table($infoTable[0]);
        $this->table->addOption("collate", $this->getCharset());
        if ($schema) {
            $this->table->setSchemaConfig($schema);
        }
        
        return $this;
    }
@param string $strTable

@return $this
@throws Exception