Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
RestElement.php
function RestElement::getArgument
Returns the node's argument
Return value
Pattern
File
vendor/
mck89/
peast/
lib/
Peast/
Syntax/
Node/
RestElement.php
, line 42
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
public
function
getArgument
() {
return
$this
->
argument
; }
RSS feed