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

Breadcrumb

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

function Standard::pObjectProperty

6 calls to Standard::pObjectProperty()
Standard::pExpr_ClassConstFetch in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
Standard::pExpr_MethodCall in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
Standard::pExpr_NullsafeMethodCall in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
Standard::pExpr_NullsafePropertyFetch in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php
Standard::pExpr_PropertyFetch in vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php

... See full list

File

vendor/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php, line 1041

Class

Standard

Namespace

PhpParser\PrettyPrinter

Code

protected function pObjectProperty(Node $node) : string {
    if ($node instanceof Expr) {
        return '{' . $this->p($node) . '}';
    }
    else {
        assert($node instanceof Node\Identifier);
        return $node->name;
    }
}

API Navigation

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