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

Breadcrumb

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

function JSXSpreadChild::setExpression

Sets the wrapped expression

Parameters

Expression $expression Wrapped expression:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/JSX/JSXSpreadChild.php, line 55

Class

JSXSpreadChild
A node that represents a spread child expression in JSX.

Namespace

Peast\Syntax\Node\JSX

Code

public function setExpression(Expression $expression) {
    $this->expression = $expression;
    return $this;
}

API Navigation

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