getAttribute() public method

Get the attribute for this batch.
public getAttribute ( ) : string
return string
Exemplo n.º 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();
 }