File "GeneralCaseExpression.php"

Full Path: /home/warrior1/public_html/languages/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Query/AST/GeneralCaseExpression.php
File size: 488 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Query\AST;
if (!defined('ABSPATH')) exit;
class GeneralCaseExpression extends Node
{
 public $whenClauses = [];
 public $elseScalarExpression = null;
 public function __construct(array $whenClauses, $elseScalarExpression)
 {
 $this->whenClauses = $whenClauses;
 $this->elseScalarExpression = $elseScalarExpression;
 }
 public function dispatch($sqlWalker)
 {
 return $sqlWalker->walkGeneralCaseExpression($this);
 }
}