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

Breadcrumb

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

function ForInStatement::setRight

Sets the iterated object

Parameters

Expression $right Iterated object:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ForInStatement.php, line 95

Class

ForInStatement
A node that represents a for-in statement. For example: for (var a in b) {}

Namespace

Peast\Syntax\Node

Code

public function setRight(Expression $right) {
    $this->right = $right;
    return $this;
}

API Navigation

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