getAttribute() public méthode

Get the attribute for this batch.
public getAttribute ( ) : string
Résultat string
 /**
  * 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();
 }