File "Mutability.php"

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

<?php
namespace MailPoetVendor\Carbon\Traits;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Carbon\Carbon;
use MailPoetVendor\Carbon\CarbonImmutable;
trait Mutability
{
 use Cast;
 public static function isMutable()
 {
 return \false;
 }
 public static function isImmutable()
 {
 return !static::isMutable();
 }
 public function toMutable()
 {
 $date = $this->cast(Carbon::class);
 return $date;
 }
 public function toImmutable()
 {
 $date = $this->cast(CarbonImmutable::class);
 return $date;
 }
}