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

Breadcrumb

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

function Source::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Source.php \SebastianBergmann\CodeCoverage\Report\Xml\Source::__construct()
  2. 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Source.php \PHPUnit\TextUI\Configuration\Source::__construct()
  3. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php \phpDocumentor\Reflection\DocBlock\Tags\Source::__construct()

Parameters

string $code The template source code:

string $name The template logical name:

string $path The filesystem path of the template if any:

File

vendor/twig/twig/src/Source.php, line 26

Class

Source
Holds information about a non-compiled Twig template.

Namespace

Twig

Code

public function __construct(string $code, string $name, string $path = '') {
}

API Navigation

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