Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BinaryOp.php

function BinaryOp::__construct

Constructs a binary operator node.

Parameters

Expr $left The left hand side expression:

Expr $right The right hand side expression:

array<string, mixed> $attributes Additional attributes:

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php, line 20

Class

BinaryOp

Namespace

PhpParser\Node\Expr

Code

public function __construct(Expr $left, Expr $right, array $attributes = []) {
    $this->attributes = $attributes;
    $this->left = $left;
    $this->right = $right;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal