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

Breadcrumb

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

function AssignmentProperty::setMethod

Sets the property method flag that is true when the property is a method

@codeCoverageIgnore

Parameters

bool $method Method flag:

Return value

$this

Overrides Property::setMethod

File

vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentProperty.php, line 67

Class

AssignmentProperty
A node that represents a property in an object binding pattern. For example "a" in: var {a} = b

Namespace

Peast\Syntax\Node

Code

public function setMethod($method) {
    return $this;
}
RSS feed
Powered by Drupal