class Source
Same name in this branch
- 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/Source.php \SebastianBergmann\CodeCoverage\Report\Xml\Source
- 11.1.x vendor/phpunit/phpunit/src/TextUI/Configuration/Value/Source.php \PHPUnit\TextUI\Configuration\Source
- 11.1.x vendor/squizlabs/php_codesniffer/src/Reports/Source.php \PHP_CodeSniffer\Reports\Source
- 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Source.php \phpDocumentor\Reflection\DocBlock\Tags\Source
Holds information about a non-compiled Twig template.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Twig\Source
Expanded class hierarchy of Source
15 files declare their use of Source
- ArrayLoader.php in vendor/
twig/ twig/ src/ Loader/ ArrayLoader.php - ChainLoader.php in vendor/
twig/ twig/ src/ Loader/ ChainLoader.php - ComponentLoader.php in core/
lib/ Drupal/ Core/ Template/ Loader/ ComponentLoader.php - CoreExtension.php in vendor/
twig/ twig/ src/ Extension/ CoreExtension.php - DeprecationCollector.php in vendor/
twig/ twig/ src/ Util/ DeprecationCollector.php
49 string references to 'Source'
- BaseCommand::getPreferredInstallOptions in vendor/
composer/ composer/ src/ Composer/ Command/ BaseCommand.php - Returns preferSource and preferDist values based on the configuration.
- Checkstyle::generateFileReport in vendor/
squizlabs/ php_codesniffer/ src/ Reports/ Checkstyle.php - Generate a partial report for a single processed file.
- ckeditor5.ckeditor5.yml in core/
modules/ ckeditor5/ ckeditor5.ckeditor5.yml - core/modules/ckeditor5/ckeditor5.ckeditor5.yml
- CliDescriptor::describe in vendor/
symfony/ var-dumper/ Command/ Descriptor/ CliDescriptor.php - Cobertura::process in vendor/
phpunit/ php-code-coverage/ src/ Report/ Cobertura.php
File
-
vendor/
twig/ twig/ src/ Source.php, line 19
Namespace
TwigView source
final class Source {
/**
* @param string $code The template source code
* @param string $name The template logical name
* @param string $path The filesystem path of the template if any
*/
public function __construct(string $code, string $name, string $path = '') {
}
public function getCode() : string {
return $this->code;
}
public function getName() : string {
return $this->name;
}
public function getPath() : string {
return $this->path;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Source::getCode | public | function | |
Source::getName | public | function | |
Source::getPath | public | function | |
Source::__construct | public | function |