Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
SpreadElement.php
function SpreadElement::getArgument
Returns the node's argument
Return value
Expression
File
vendor/
mck89/
peast/
lib/
Peast/
Syntax/
Node/
SpreadElement.php
, line 42
Class
SpreadElement
A node that represents the spread element in array literals or function calls. For example "...params" in: test(...params)
Namespace
Peast\Syntax\Node
Code
public
function
getArgument
() {
return
$this
->
argument
; }
RSS feed