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

Breadcrumb

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

function Template::__construct

Same name in this branch
  1. 11.1.x vendor/twig/twig/src/Template.php \Twig\Template::__construct()
  2. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Template.php \phpDocumentor\Reflection\DocBlock\Tags\Template::__construct()

Throws

InvalidArgumentException

File

vendor/phpunit/php-text-template/src/Template.php, line 34

Class

Template

Namespace

SebastianBergmann\Template

Code

public function __construct(string $file = '', string $openDelimiter = '{', string $closeDelimiter = '}') {
    $this->setFile($file);
    $this->openDelimiter = $openDelimiter;
    $this->closeDelimiter = $closeDelimiter;
}

API Navigation

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