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

Breadcrumb

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

RestElement::$argument

The node's argument

Type: Pattern

File

vendor/mck89/peast/lib/Peast/Syntax/Node/RestElement.php, line 35

Class

RestElement
A node that represents the rest element in array binding patterns or function parameters. For example "...rest" in: [a, ...rest] = b

Namespace

Peast\Syntax\Node

Code

protected $argument;

API Navigation

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