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

Breadcrumb

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

function Parser::hasTraits

File

vendor/twig/twig/src/Parser.php, line 285

Class

Parser
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig

Code

public function hasTraits() : bool {
    trigger_deprecation('twig/twig', '3.12', 'Method "%s()" is deprecated.', __METHOD__);
    return \count($this->traits) > 0;
}

API Navigation

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