LdapTools\Log\LdapLoggerInterface::end PHP Method

end() public method

The end method is called against a LDAP operation after the operation has finished executing.
public end ( LogOperation $operation )
$operation LogOperation
    public function end(LogOperation $operation);

Usage Example

 /**
  * End a logging operation.
  *
  * @param LogOperation|null $log
  */
 protected function logEnd(LogOperation $log = null)
 {
     if ($this->shouldLog($log)) {
         $this->logger->end($log->stop());
     }
 }
LdapLoggerInterface