public function createTable($table, \Closure $callback) { $table = $this->schema->createTable($this->replacePrefix($table)); $callback(new Table($table, $this->connection)); $this->manager->createTable($table); }