File "Func.php"

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

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM\Query\Expr;
if (!defined('ABSPATH')) exit;
use function implode;
class Func
{
 protected $name;
 protected $arguments;
 public function __construct($name, $arguments)
 {
 $this->name = $name;
 $this->arguments = (array) $arguments;
 }
 public function getName()
 {
 return $this->name;
 }
 public function getArguments()
 {
 return $this->arguments;
 }
 public function __toString()
 {
 return $this->name . '(' . implode(', ', $this->arguments) . ')';
 }
}