File "InvalidDateException.php"

Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
File size: 638 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
namespace MailPoetVendor\Carbon\Exceptions;
if (!defined('ABSPATH')) exit;
use Exception;
use InvalidArgumentException as BaseInvalidArgumentException;
class InvalidDateException extends BaseInvalidArgumentException implements InvalidArgumentException
{
 private $field;
 private $value;
 public function __construct($field, $value, $code = 0, Exception $previous = null)
 {
 $this->field = $field;
 $this->value = $value;
 parent::__construct($field . ' : ' . $value . ' is not a valid value.', $code, $previous);
 }
 public function getField()
 {
 return $this->field;
 }
 public function getValue()
 {
 return $this->value;
 }
}