File "WebRequestRecognizerTrait.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/monolog/monolog/src/Monolog/Handler/WebRequestRecognizerTrait.php
File size: 244 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare (strict_types=1);
namespace MailPoetVendor\Monolog\Handler;
if (!defined('ABSPATH')) exit;
trait WebRequestRecognizerTrait
{
protected function isWebRequest() : bool
{
return 'cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI;
}
}