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

Breadcrumb

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

function AssignmentPattern::setLeft

Sets the left node of the assignment

Parameters

Pattern $left Left node:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentPattern.php, line 61

Class

AssignmentPattern
A node that represents an assignment in a binding context. For example "a = b" in: var {a = b} = c

Namespace

Peast\Syntax\Node

Code

public function setLeft(Pattern $left) {
    $this->left = $left;
    return $this;
}
RSS feed
Powered by Drupal