code: private function getTableData($table): self
  	{
  		if ($table instanceof Table) {
  			return $table;
  		} elseif (is_subclass_of($table, Mapper::class)) {
  			/* @var $mapper Mapper */
  			$mapper = $this->container->getByType($table);
  			return $mapper->getStructure();
  		} else {
  			throw new InvalidArgumentException;
  		}
  	}
docs: Vrati nazev tabulky a jeji klic
  @param string|Table $table
  @return self
  @throws InvalidArgumentException