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

Breadcrumb

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

function ArrowFunction::getStmts

Return value

Node\Stmt\Return_[]

Overrides FunctionLike::getStmts

File

vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php, line 77

Class

ArrowFunction

Namespace

PhpParser\Node\Expr

Code

public function getStmts() : array {
    return [
        new Node\Stmt\Return_($this->expr),
    ];
}

API Navigation

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