File "RangeBinary.php"
Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/Expression/Binary/RangeBinary.php
File size: 442 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 RangeBinary extends AbstractBinary
{
public function compile(Compiler $compiler) : void
{
$compiler->raw('range(')->subcompile($this->getNode('left'))->raw(', ')->subcompile($this->getNode('right'))->raw(')');
}
public function operator(Compiler $compiler) : Compiler
{
return $compiler->raw('..');
}
}