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

Breadcrumb

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

function JSXMemberExpression::setObject

Sets the expression's object

Parameters

JSXMemberExpression|JSXIdentifier $object Object:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/JSX/JSXMemberExpression.php, line 63

Class

JSXMemberExpression
A node that represents a JSX member expression.

Namespace

Peast\Syntax\Node\JSX

Code

public function setObject($object) {
    $this->assertType($object, array(
        "JSX\\JSXMemberExpression",
        "JSX\\JSXIdentifier",
    ));
    $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