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

Breadcrumb

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

function Param::isPromoted

Whether this parameter uses constructor property promotion.

File

vendor/nikic/php-parser/lib/PhpParser/Node/Param.php, line 70

Class

Param

Namespace

PhpParser\Node

Code

public function isPromoted() : bool {
    return $this->flags !== 0;
}

API Navigation

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