File "Handler.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/monolog/monolog/src/Monolog/Handler/Handler.php
File size: 518 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare (strict_types=1);
namespace MailPoetVendor\Monolog\Handler;
if (!defined('ABSPATH')) exit;
abstract class Handler implements HandlerInterface
{
public function handleBatch(array $records) : void
{
foreach ($records as $record) {
$this->handle($record);
}
}
public function close() : void
{
}
public function __destruct()
{
try {
$this->close();
} catch (\Throwable $e) {
// do nothing
}
}
public function __sleep()
{
$this->close();
return \array_keys(\get_object_vars($this));
}
}