Author: Chad Sikorra (Chad.Sikorra@gmail.com)
コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function isBatchSupported(Batch $batch)
 {
     return $batch->isTypeReplace();
 }