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

Breadcrumb

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

function AbstractExpression::hasExplicitParentheses

1 call to AbstractExpression::hasExplicitParentheses()
AbstractUnary::compile in vendor/twig/twig/src/Node/Expression/Unary/AbstractUnary.php

File

vendor/twig/twig/src/Node/Expression/AbstractExpression.php, line 39

Class

AbstractExpression
Abstract class for all nodes that represents an expression.

Namespace

Twig\Node\Expression

Code

public function hasExplicitParentheses() : bool {
    return $this->hasAttribute('with_parentheses') && $this->getAttribute('with_parentheses');
}

API Navigation

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