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

Breadcrumb

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

function RegExpLiteral::setValue

Sets node's value

Parameters

mixed $value Value:

Return value

$this

Overrides Literal::setValue

File

vendor/mck89/peast/lib/Peast/Syntax/Node/RegExpLiteral.php, line 143

Class

RegExpLiteral
A node that represents a regular expression literal.

Namespace

Peast\Syntax\Node

Code

public function setValue($value) {
    return $this->setRaw($value);
}
RSS feed
Powered by Drupal