LdapTools\BatchModify\Batch::getAttribute PHP Method

getAttribute() public method

Get the attribute for this batch.
public getAttribute ( ) : string
return string
    public function getAttribute()
    {
        return $this->attribute;
    }

Usage Example

Esempio 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();
 }