public function addTable(TableInterface $table, array $data) { $this->tables[$table->getName()] = new Table($table, $data); }