src/LdapTools/Operation/LdapOperationTrait.php
public function addPreOperation(LdapOperationInterface ...$operations)
    {
        foreach ($operations as $operation) {
            $this->preOperations[] = $operation;
        }

        return $this;
    }
public function addPreOperation(LdapOperationInterface ...$operations)
    {
        foreach ($operations as $operation) {
            $this->preOperations[] = $operation;
        }

        return $this;
    }
public function addPreOperation ( LdapOperationInterface ... $ operations ) { foreach ( $ operations as $ operation ) { $ this -> preOperations [ ] = $ operation ; } return $ this ; }
Add an operation that should be executed before this operation.

@param LdapOperationInterface[] ...$operations
@return $this
Add an operation that should be executed before this operation .