/** * Determine if a specific batch is correctly formatted and needs conversion. * * @param Batch $batch * @return bool */ protected function batchCanConvert(Batch $batch) { return $this->schema->hasConverter($batch->getAttribute()) && !$batch->isTypeRemoveAll(); }
/** * {@inheritdoc} */ public function isBatchSupported(Batch $batch) { return $batch->isTypeReplace(); }