File "MatchesBinary.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/Expression/Binary/MatchesBinary.php
File size: 447 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Node\Expression\Binary;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Compiler;
class MatchesBinary extends AbstractBinary
{
public function compile(Compiler $compiler) : void
{
$compiler->raw('preg_match(')->subcompile($this->getNode('right'))->raw(', ')->subcompile($this->getNode('left'))->raw(')');
}
public function operator(Compiler $compiler) : Compiler
{
return $compiler->raw('');
}
}