for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace Apicart\FQL\Token\Node;
use Apicart\FQL\Value\AbstractNode;
use Apicart\FQL\Value\Token;
final class LogicalOr extends AbstractNode
{
/**
* @var AbstractNode
*/
private $leftOperand;
private $rightOperand;
* @var Token
private $token;
public function __construct(AbstractNode $leftOperand, AbstractNode $rightOperand, Token $token) {
$this->leftOperand = $leftOperand;
$this->rightOperand = $rightOperand;
$this->token = $token;
}
public function getNodes(): array
return [$this->getLeftOperand(), $this->getRightOperand()];
public function getLeftOperand(): AbstractNode
return $this->leftOperand;
public function setLeftOperand(AbstractNode $leftOperand): void
public function getRightOperand(): AbstractNode
return $this->rightOperand;
public function setRightOperand(AbstractNode $rightOperand): void
public function getToken(): Token
return $this->token;
public function setToken(Token $token): void