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

Breadcrumb

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

function ArrayPattern::getElements

Returns array elements

Return value

Pattern[]

File

vendor/mck89/peast/lib/Peast/Syntax/Node/ArrayPattern.php, line 41

Class

ArrayPattern
A node that represents an array binding pattern. For example: [a, b, c] = d

Namespace

Peast\Syntax\Node

Code

public function getElements() {
    return $this->elements;
}

API Navigation

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