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

Breadcrumb

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

function AssignmentExpression::setLeft

Sets the left node of the assignment

Parameters

Pattern|Expression $left The node to set:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentExpression.php, line 92

Class

AssignmentExpression
A node that represents an assignment expression. For example: a = b

Namespace

Peast\Syntax\Node

Code

public function setLeft($left) {
    $this->assertType($left, array(
        "Pattern",
        "Expression",
    ));
    $this->left = $left;
    return $this;
}

API Navigation

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