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

Breadcrumb

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

function MemberExpression::setObject

Sets the expression's object

Parameters

Expression|Super $object Object:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/MemberExpression.php, line 70

Class

MemberExpression
A node that represents a member expression. For example: foo.bar

Namespace

Peast\Syntax\Node

Code

public function setObject($object) {
    $this->assertType($object, array(
        "Expression",
        "Super",
    ));
    $this->object = $object;
    return $this;
}

API Navigation

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