LdapTools\BatchModify\Batch::isTypeReplace PHP Method

isTypeReplace() public method

A convenience function to check if this batch type is a REPLACE action.
public isTypeReplace ( ) : boolean
return boolean
    public function isTypeReplace()
    {
        return $this->isType('REPLACE');
    }

Usage Example

 /**
  * {@inheritdoc}
  */
 public function isBatchSupported(Batch $batch)
 {
     return $batch->isTypeReplace();
 }