SYMBOL INDEX (2527 symbols across 405 files) FILE: extra/cache-extra/CacheExtension.php class CacheExtension (line 17) | final class CacheExtension extends AbstractExtension method getTokenParsers (line 19) | public function getTokenParsers(): array FILE: extra/cache-extra/CacheRuntime.php class CacheRuntime (line 16) | class CacheRuntime method __construct (line 20) | public function __construct(CacheInterface $cache) method getCache (line 25) | public function getCache(): CacheInterface FILE: extra/cache-extra/Node/CacheNode.php class CacheNode (line 19) | class CacheNode extends AbstractExpression method __construct (line 21) | public function __construct(AbstractExpression $key, ?AbstractExpressi... method compile (line 37) | public function compile(Compiler $compiler): void FILE: extra/cache-extra/Tests/FunctionalTest.php class FunctionalTest (line 24) | class FunctionalTest extends TestCase method testIsCached (line 26) | public function testIsCached() method testTtlNoArgs (line 36) | public function testTtlNoArgs() method testTtlTooManyArgs (line 44) | public function testTtlTooManyArgs() method testTagsNoArgs (line 52) | public function testTagsNoArgs() method testTagsTooManyArgs (line 60) | public function testTagsTooManyArgs() method createEnvironment (line 68) | private function createEnvironment(array $templates, ?ArrayAdapter $ca... FILE: extra/cache-extra/Tests/IntegrationTest.php class IntegrationTest (line 20) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 22) | public function getExtensions() method getRuntimeLoaders (line 29) | protected function getRuntimeLoaders() method getFixturesDirectory (line 41) | protected static function getFixturesDirectory(): string FILE: extra/cache-extra/TokenParser/CacheTokenParser.php class CacheTokenParser (line 22) | class CacheTokenParser extends AbstractTokenParser method parse (line 24) | public function parse(Token $token): Node method decideCacheEnd (line 65) | public function decideCacheEnd(Token $token): bool method getTag (line 70) | public function getTag(): string FILE: extra/cssinliner-extra/CssInlinerExtension.php class CssInlinerExtension (line 18) | class CssInlinerExtension extends AbstractExtension method getFilters (line 20) | public function getFilters(): array method inlineCss (line 30) | public static function inlineCss(string $body, string ...$css): string FILE: extra/cssinliner-extra/Resources/functions.php function twig_inline_css (line 19) | function twig_inline_css(string $body, string ...$css): string FILE: extra/cssinliner-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/cssinliner-extra/Tests/LegacyFunctionsTest.php class LegacyFunctionsTest (line 22) | class LegacyFunctionsTest extends TestCase method testInlineCss (line 24) | public function testInlineCss() FILE: extra/html-extra/Cva.php class Cva (line 19) | final class Cva method __construct (line 29) | public function __construct( method apply (line 82) | public function apply(array $recipes, ?string ...$additionalClasses): ... method resolveCompoundVariant (line 116) | private function resolveCompoundVariant(array $compound, array $recipe... FILE: extra/html-extra/HtmlAttr/AttributeValueInterface.php type AttributeValueInterface (line 22) | interface AttributeValueInterface method getValue (line 30) | public function getValue(): ?string; FILE: extra/html-extra/HtmlAttr/InlineStyle.php class InlineStyle (line 19) | final class InlineStyle implements MergeableInterface, AttributeValueInt... method __construct (line 23) | public function __construct(mixed $value) method mergeInto (line 32) | public function mergeInto(mixed $previous): mixed method appendFrom (line 45) | public function appendFrom(mixed $newValue): mixed method getValue (line 54) | public function getValue(): ?string FILE: extra/html-extra/HtmlAttr/MergeableInterface.php type MergeableInterface (line 27) | interface MergeableInterface method mergeInto (line 41) | public function mergeInto(mixed $previous): mixed; method appendFrom (line 54) | public function appendFrom(mixed $newValue): mixed; FILE: extra/html-extra/HtmlAttr/SeparatedTokenList.php class SeparatedTokenList (line 19) | final class SeparatedTokenList implements AttributeValueInterface, Merge... method __construct (line 23) | public function __construct(mixed $value, private readonly string $sep... method mergeInto (line 34) | public function mergeInto(mixed $previous): mixed method appendFrom (line 47) | public function appendFrom(mixed $newValue): mixed method getValue (line 56) | public function getValue(): ?string FILE: extra/html-extra/HtmlExtension.php class HtmlExtension (line 27) | final class HtmlExtension extends AbstractExtension method __construct (line 31) | public function __construct(?MimeTypes $mimeTypes = null) method getFilters (line 36) | public function getFilters(): array method getFunctions (line 45) | public function getFunctions(): array method dataUri (line 64) | public function dataUri(string $data, ?string $mime = null, array $par... method htmlClasses (line 101) | public static function htmlClasses(...$args): string method htmlCva (line 133) | public static function htmlCva(array|string $base = [], array $variant... method htmlAttrType (line 139) | public static function htmlAttrType(mixed $value, string $type = 'sst'... method htmlAttrMerge (line 150) | public static function htmlAttrMerge(iterable|string|false|null ...$ar... method htmlAttr (line 195) | public static function htmlAttr(Environment $env, iterable|string|fals... FILE: extra/html-extra/Resources/functions.php function twig_html_classes (line 19) | function twig_html_classes(...$args): string FILE: extra/html-extra/Tests/CvaTest.php class CvaTest (line 17) | class CvaTest extends TestCase method testRecipes (line 22) | public function testRecipes(array $recipe, array $recipes, string $exp... method testApply (line 29) | public function testApply() method testApplyWithNullString (line 52) | public function testApplyWithNullString() method recipeProvider (line 75) | public static function recipeProvider(): iterable method testAdditionalClasses (line 626) | public function testAdditionalClasses(string|array $base, array|string... method provideAdditionalClassesCases (line 636) | public static function provideAdditionalClassesCases(): iterable FILE: extra/html-extra/Tests/HtmlAttrMergeTest.php class HtmlAttrMergeTest (line 19) | class HtmlAttrMergeTest extends TestCase method testMerge (line 24) | public function testMerge(array $expected, array $inputs) method htmlAttrProvider (line 31) | public static function htmlAttrProvider(): \Generator method testIncompatibleValuesMergeThrowsException (line 183) | public function testIncompatibleValuesMergeThrowsException() class MergeableStub (line 195) | class MergeableStub implements MergeableInterface method __construct (line 197) | public function __construct(private readonly mixed $value) method mergeInto (line 201) | public function mergeInto(mixed $previous): mixed method appendFrom (line 208) | public function appendFrom(mixed $newValue): mixed method __toString (line 219) | public function __toString(): string FILE: extra/html-extra/Tests/HtmlAttrTest.php class HtmlAttrTest (line 22) | class HtmlAttrTest extends TestCase method testPrintingAttributes (line 27) | public function testPrintingAttributes(string $expected, array $inputs) method htmlAttrProvider (line 34) | public static function htmlAttrProvider(): \Generator method testIterableObjectCastedToArray (line 252) | public function testIterableObjectCastedToArray() method testDataAttributeWithNonJsonEncodableValueThrowsRuntimeError (line 274) | public function testDataAttributeWithNonJsonEncodableValueThrowsRuntim... method testNonStringableObjectAsAttributeValueThrowsRuntimeError (line 285) | public function testNonStringableObjectAsAttributeValueThrowsRuntimeEr... class StringableStub (line 297) | class StringableStub implements \Stringable method __construct (line 299) | public function __construct(private readonly string $value) method __toString (line 303) | public function __toString(): string class AttributeValueStub (line 309) | class AttributeValueStub implements AttributeValueInterface method __construct (line 311) | public function __construct(private readonly ?string $value) method getValue (line 315) | public function getValue(): ?string FILE: extra/html-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/html-extra/Tests/LegacyFunctionsTest.php class LegacyFunctionsTest (line 20) | class LegacyFunctionsTest extends TestCase method testHtmlToMarkdown (line 22) | public function testHtmlToMarkdown() FILE: extra/inky-extra/InkyExtension.php class InkyExtension (line 18) | class InkyExtension extends AbstractExtension method getFilters (line 20) | public function getFilters(): array method inky (line 30) | public static function inky(string $body): string FILE: extra/inky-extra/Resources/functions.php function twig_inky (line 19) | function twig_inky(string $body): string FILE: extra/inky-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/inky-extra/Tests/LegacyFunctionsTest.php class LegacyFunctionsTest (line 22) | class LegacyFunctionsTest extends TestCase method testInlineCss (line 24) | public function testInlineCss() FILE: extra/intl-extra/IntlExtension.php class IntlExtension (line 28) | final class IntlExtension extends AbstractExtension method availableDateFormats (line 30) | private static function availableDateFormats(): array method __construct (line 153) | public function __construct(?\IntlDateFormatter $dateFormatterPrototyp... method getFilters (line 159) | public function getFilters(): array method getFunctions (line 180) | public function getFunctions(): array method getCountryName (line 194) | public function getCountryName(?string $country, ?string $locale = nul... method getCurrencyName (line 207) | public function getCurrencyName(?string $currency, ?string $locale = n... method getCurrencySymbol (line 220) | public function getCurrencySymbol(?string $currency, ?string $locale =... method getLanguageName (line 233) | public function getLanguageName(?string $language, ?string $locale = n... method getLocaleName (line 246) | public function getLocaleName(?string $data, ?string $locale = null): ... method getTimezoneName (line 259) | public function getTimezoneName(?string $timezone, ?string $locale = n... method getCountryTimezones (line 272) | public function getCountryTimezones(string $country): array method getLanguageNames (line 281) | public function getLanguageNames(?string $locale = null): array method getScriptNames (line 290) | public function getScriptNames(?string $locale = null): array method getCountryNames (line 299) | public function getCountryNames(?string $locale = null): array method getLocaleNames (line 308) | public function getLocaleNames(?string $locale = null): array method getCurrencyNames (line 317) | public function getCurrencyNames(?string $locale = null): array method getTimezoneNames (line 326) | public function getTimezoneNames(?string $locale = null): array method formatCurrency (line 335) | public function formatCurrency($amount, string $currency, array $attrs... method formatNumber (line 346) | public function formatNumber($number, array $attrs = [], string $style... method formatNumberStyle (line 361) | public function formatNumberStyle(string $style, $number, array $attrs... method formatDateTime (line 370) | public function formatDateTime(Environment $env, $date, ?string $dateF... method formatDate (line 393) | public function formatDate(Environment $env, $date, ?string $dateForma... method formatTime (line 402) | public function formatTime(Environment $env, $date, ?string $timeForma... method createDateFormatter (line 407) | private function createDateFormatter(?string $locale, ?string $dateFor... method createNumberFormatter (line 450) | private function createNumberFormatter(?string $locale, string $style,... FILE: extra/intl-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/intl-extra/Tests/IntlExtensionTest.php class IntlExtensionTest (line 20) | class IntlExtensionTest extends TestCase method testFormatterWithoutProto (line 22) | public function testFormatterWithoutProto() method testFormatterWithoutProtoFallsBackToCoreExtensionTimezone (line 34) | public function testFormatterWithoutProtoFallsBackToCoreExtensionTimez... method testFormatterWithoutProtoSkipTimezoneConverter (line 48) | public function testFormatterWithoutProtoSkipTimezoneConverter() method testFormatterProto (line 62) | public function testFormatterProto() method testFormatterOverridenProto (line 81) | public function testFormatterOverridenProto() FILE: extra/markdown-extra/DefaultMarkdown.php class DefaultMarkdown (line 17) | class DefaultMarkdown implements MarkdownInterface method __construct (line 21) | public function __construct() method convert (line 34) | public function convert(string $body): string FILE: extra/markdown-extra/ErusevMarkdown.php class ErusevMarkdown (line 14) | class ErusevMarkdown implements MarkdownInterface method __construct (line 18) | public function __construct(?\Parsedown $converter = null) method convert (line 23) | public function convert(string $body): string FILE: extra/markdown-extra/LeagueMarkdown.php class LeagueMarkdown (line 17) | class LeagueMarkdown implements MarkdownInterface method __construct (line 22) | public function __construct(?MarkdownConverter $converter = null) method convert (line 28) | public function convert(string $body): string FILE: extra/markdown-extra/MarkdownExtension.php class MarkdownExtension (line 18) | final class MarkdownExtension extends AbstractExtension method getFilters (line 20) | public function getFilters(): array method htmlToMarkdown (line 31) | public static function htmlToMarkdown(string $body, array $options = [... FILE: extra/markdown-extra/MarkdownInterface.php type MarkdownInterface (line 14) | interface MarkdownInterface method convert (line 16) | public function convert(string $body): string; FILE: extra/markdown-extra/MarkdownRuntime.php class MarkdownRuntime (line 14) | class MarkdownRuntime method __construct (line 18) | public function __construct(MarkdownInterface $converter) method convert (line 23) | public function convert(string $body): string FILE: extra/markdown-extra/MichelfMarkdown.php class MichelfMarkdown (line 16) | class MichelfMarkdown implements MarkdownInterface method __construct (line 20) | public function __construct(?MarkdownExtra $converter = null) method convert (line 30) | public function convert(string $body): string FILE: extra/markdown-extra/Resources/functions.php function html_to_markdown (line 19) | function html_to_markdown(string $body, array $options = []): string FILE: extra/markdown-extra/Tests/FunctionalTest.php class FunctionalTest (line 25) | class FunctionalTest extends TestCase method testMarkdown (line 30) | public function testMarkdown(string $template, string $expected) method getMarkdownTests (line 60) | public static function getMarkdownTests() FILE: extra/markdown-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/markdown-extra/Tests/LegacyFunctionsTest.php class LegacyFunctionsTest (line 23) | class LegacyFunctionsTest extends TestCase method testHtmlToMarkdown (line 25) | public function testHtmlToMarkdown() FILE: extra/string-extra/StringExtension.php class StringExtension (line 26) | final class StringExtension extends AbstractExtension method __construct (line 33) | public function __construct(?SluggerInterface $slugger = null) method getFilters (line 38) | public function getFilters(): array method createUnicodeString (line 48) | public function createUnicodeString(?string $text): UnicodeString method createSlug (line 53) | public function createSlug(string $string, string $separator = '-', ?s... method plural (line 61) | public function plural(string $value, string $locale = 'en', bool $all... method singular (line 73) | public function singular(string $value, string $locale = 'en', bool $a... method getInflector (line 82) | private function getInflector(string $locale): InflectorInterface FILE: extra/string-extra/Tests/IntegrationTest.php class IntegrationTest (line 17) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 19) | public function getExtensions() method getFixturesDirectory (line 26) | protected static function getFixturesDirectory(): string FILE: extra/twig-extra-bundle/DependencyInjection/Compiler/MissingExtensionSuggestorPass.php class MissingExtensionSuggestorPass (line 19) | class MissingExtensionSuggestorPass implements CompilerPassInterface method process (line 21) | public function process(ContainerBuilder $container): void method process (line 38) | public function process(ContainerBuilder $container) class MissingExtensionSuggestorPass (line 35) | class MissingExtensionSuggestorPass implements CompilerPassInterface method process (line 21) | public function process(ContainerBuilder $container): void method process (line 38) | public function process(ContainerBuilder $container) FILE: extra/twig-extra-bundle/DependencyInjection/Configuration.php class Configuration (line 19) | class Configuration implements ConfigurationInterface method getConfigTreeBuilder (line 21) | public function getConfigTreeBuilder(): TreeBuilder method addCommonMarkConfiguration (line 44) | private function addCommonMarkConfiguration(ArrayNodeDefinition $rootN... FILE: extra/twig-extra-bundle/DependencyInjection/TwigExtraExtension.php type TwigExtraExtensionTrait (line 23) | trait TwigExtraExtensionTrait method load (line 25) | public function load(array $configs, ContainerBuilder $container): void method load (line 35) | public function load(array $configs, ContainerBuilder $container) type TwigExtraExtensionTrait (line 32) | trait TwigExtraExtensionTrait method load (line 25) | public function load(array $configs, ContainerBuilder $container): void method load (line 35) | public function load(array $configs, ContainerBuilder $container) class TwigExtraExtension (line 45) | class TwigExtraExtension extends Extension method doLoad (line 49) | private function doLoad(array $configs, ContainerBuilder $container): ... FILE: extra/twig-extra-bundle/Extensions.php class Extensions (line 22) | final class Extensions method getClasses (line 94) | public static function getClasses(): array method getFilter (line 99) | public static function getFilter(string $name): array method getFunction (line 110) | public static function getFunction(string $name): array method getTag (line 121) | public static function getTag(string $name): array FILE: extra/twig-extra-bundle/LeagueCommonMarkConverterFactory.php class LeagueCommonMarkConverterFactory (line 20) | final class LeagueCommonMarkConverterFactory method __construct (line 28) | public function __construct(iterable $extensions, array $config = []) method __invoke (line 34) | public function __invoke(): CommonMarkConverter FILE: extra/twig-extra-bundle/MissingExtensionSuggestor.php class MissingExtensionSuggestor (line 16) | final class MissingExtensionSuggestor method suggestFilter (line 18) | public function suggestFilter(string $name): bool method suggestFunction (line 27) | public function suggestFunction(string $name): bool method suggestTag (line 36) | public function suggestTag(string $name): bool FILE: extra/twig-extra-bundle/Tests/DependencyInjection/TwigExtraExtensionTest.php class TwigExtraExtensionTest (line 21) | class TwigExtraExtensionTest extends TestCase method testDefaultConfiguration (line 23) | public function testDefaultConfiguration() FILE: extra/twig-extra-bundle/Tests/Fixture/Kernel.php class Kernel (line 24) | class Kernel extends BaseKernel method registerBundles (line 28) | public function registerBundles(): iterable method configureContainer (line 35) | protected function configureContainer(ContainerBuilder $c, LoaderInter... method configureRoutes (line 60) | protected function configureRoutes($routes): void FILE: extra/twig-extra-bundle/Tests/IntegrationTest.php class IntegrationTest (line 16) | class IntegrationTest extends KernelTestCase method testCommonMarkRendering (line 18) | public function testCommonMarkRendering() FILE: extra/twig-extra-bundle/TwigExtraBundle.php class TwigExtraBundle (line 20) | class TwigExtraBundle extends Bundle method build (line 22) | public function build(ContainerBuilder $container): void method build (line 33) | public function build(ContainerBuilder $container) class TwigExtraBundle (line 30) | class TwigExtraBundle extends Bundle method build (line 22) | public function build(ContainerBuilder $container): void method build (line 33) | public function build(ContainerBuilder $container) FILE: src/AbstractTwigCallable.php class AbstractTwigCallable (line 17) | abstract class AbstractTwigCallable implements TwigCallableInterface method __construct (line 26) | public function __construct(string $name, $callable = null, array $opt... method __toString (line 67) | public function __toString(): string method getName (line 72) | public function getName(): string method getDynamicName (line 77) | public function getDynamicName(): string method getCallable (line 85) | public function getCallable() method getNodeClass (line 90) | public function getNodeClass(): string method needsCharset (line 95) | public function needsCharset(): bool method needsEnvironment (line 100) | public function needsEnvironment(): bool method needsContext (line 105) | public function needsContext(): bool method withDynamicArguments (line 113) | public function withDynamicArguments(string $name, string $dynamicName... method setArguments (line 126) | public function setArguments(array $arguments): void method getArguments (line 133) | public function getArguments(): array method isVariadic (line 138) | public function isVariadic(): bool method isDeprecated (line 143) | public function isDeprecated(): bool method triggerDeprecation (line 148) | public function triggerDeprecation(?string $file = null, ?int $line = ... method getDeprecatingPackage (line 156) | public function getDeprecatingPackage(): string method getDeprecatedVersion (line 166) | public function getDeprecatedVersion(): string method getAlternative (line 176) | public function getAlternative(): ?string method getMinimalNumberOfRequiredArguments (line 183) | public function getMinimalNumberOfRequiredArguments(): int FILE: src/Attribute/AsTwigFilter.php class AsTwigFilter (line 30) | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] method __construct (line 44) | public function __construct( FILE: src/Attribute/AsTwigFunction.php class AsTwigFunction (line 30) | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] method __construct (line 42) | public function __construct( FILE: src/Attribute/AsTwigTest.php class AsTwigTest (line 30) | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)] method __construct (line 40) | public function __construct( FILE: src/Attribute/FirstClassTwigCallableReady.php class FirstClassTwigCallableReady (line 17) | #[\Attribute(\Attribute::TARGET_METHOD)] FILE: src/Attribute/YieldReady.php class YieldReady (line 17) | #[\Attribute(\Attribute::TARGET_CLASS)] FILE: src/Cache/CacheInterface.php type CacheInterface (line 23) | interface CacheInterface method generateKey (line 28) | public function generateKey(string $name, string $className): string; method write (line 35) | public function write(string $key, string $content): void; method load (line 40) | public function load(string $key): void; method getTimestamp (line 45) | public function getTimestamp(string $key): int; FILE: src/Cache/ChainCache.php class ChainCache (line 22) | final class ChainCache implements CacheInterface, RemovableCacheInterface method __construct (line 27) | public function __construct( method generateKey (line 32) | public function generateKey(string $name, string $className): string method write (line 37) | public function write(string $key, string $content): void method load (line 46) | public function load(string $key): void method getTimestamp (line 59) | public function getTimestamp(string $key): int method remove (line 72) | public function remove(string $name, string $cls): void method splitKey (line 84) | private function splitKey(string $key): array FILE: src/Cache/FilesystemCache.php class FilesystemCache (line 19) | class FilesystemCache implements CacheInterface, RemovableCacheInterface method __construct (line 26) | public function __construct(string $directory, int $options = 0) method generateKey (line 32) | public function generateKey(string $name, string $className): string method load (line 39) | public function load(string $key): void method write (line 46) | public function write(string $key, string $content): void method remove (line 79) | public function remove(string $name, string $cls): void method getTimestamp (line 87) | public function getTimestamp(string $key): int FILE: src/Cache/NullCache.php class NullCache (line 19) | final class NullCache implements CacheInterface, RemovableCacheInterface method generateKey (line 21) | public function generateKey(string $name, string $className): string method write (line 26) | public function write(string $key, string $content): void method load (line 30) | public function load(string $key): void method getTimestamp (line 34) | public function getTimestamp(string $key): int method remove (line 39) | public function remove(string $name, string $cls): void FILE: src/Cache/ReadOnlyFilesystemCache.php class ReadOnlyFilesystemCache (line 19) | class ReadOnlyFilesystemCache extends FilesystemCache method write (line 21) | public function write(string $key, string $content): void FILE: src/Cache/RemovableCacheInterface.php type RemovableCacheInterface (line 17) | interface RemovableCacheInterface method remove (line 19) | public function remove(string $name, string $cls): void; FILE: src/Compiler.php class Compiler (line 20) | class Compiler method __construct (line 32) | public function __construct( method getEnvironment (line 37) | public function getEnvironment(): Environment method getSource (line 42) | public function getSource(): string method reset (line 50) | public function reset(int $indentation = 0) method compile (line 67) | public function compile(Node $node, int $indentation = 0) method subcompile (line 89) | public function subcompile(Node $node, bool $raw = true) method raw (line 116) | public function raw(string $string) method write (line 129) | public function write(...$strings) method string (line 144) | public function string(string $value) method repr (line 156) | public function repr($value) method addDebugInfo (line 195) | public function addDebugInfo(Node $node) method getDebugInfo (line 210) | public function getDebugInfo(): array method indent (line 220) | public function indent(int $step = 1) method outdent (line 232) | public function outdent(int $step = 1) method getVarName (line 244) | public function getVarName(): string method checkForEcho (line 249) | private function checkForEcho(string $string): void FILE: src/DeprecatedCallableInfo.php class DeprecatedCallableInfo (line 17) | final class DeprecatedCallableInfo method __construct (line 22) | public function __construct( method setType (line 31) | public function setType(string $type): void method setName (line 36) | public function setName(string $name): void method triggerDeprecation (line 41) | public function triggerDeprecation(?string $file = null, ?int $line = ... FILE: src/Environment.php class Environment (line 44) | class Environment method __construct (line 111) | public function __construct(LoaderInterface $loader, array $options = []) method useYield (line 150) | public function useYield(): bool method enableDebug (line 160) | public function enableDebug() method disableDebug (line 171) | public function disableDebug() method isDebug (line 182) | public function isDebug() method enableAutoReload (line 192) | public function enableAutoReload() method disableAutoReload (line 202) | public function disableAutoReload() method isAutoReload (line 212) | public function isAutoReload() method enableStrictVariables (line 222) | public function enableStrictVariables() method disableStrictVariables (line 233) | public function disableStrictVariables() method isStrictVariables (line 244) | public function isStrictVariables() method removeCache (line 249) | public function removeCache(string $name): void method getCache (line 270) | public function getCache($original = true) method setCache (line 284) | public function setCache($cache) method getTemplateClass (line 315) | public function getTemplateClass(string $name, ?int $index = null): st... method render (line 331) | public function render($name, array $context = []): string method display (line 345) | public function display($name, array $context = []): void method load (line 359) | public function load($name): TemplateWrapper method loadTemplate (line 388) | public function loadTemplate(string $cls, string $name, ?int $index = ... method createTemplate (line 445) | public function createTemplate(string $template, ?string $name = null)... method isTemplateFresh (line 476) | public function isTemplateFresh(string $name, int $time): bool method resolveTemplate (line 492) | public function resolveTemplate($names): TemplateWrapper method setLexer (line 522) | public function setLexer(Lexer $lexer) method tokenize (line 530) | public function tokenize(Source $source): TokenStream method setParser (line 542) | public function setParser(Parser $parser) method parse (line 552) | public function parse(TokenStream $stream): ModuleNode method setCompiler (line 564) | public function setCompiler(Compiler $compiler) method compile (line 572) | public function compile(Node $node): string method compileSource (line 586) | public function compileSource(Source $source): string method setLoader (line 601) | public function setLoader(LoaderInterface $loader) method getLoader (line 606) | public function getLoader(): LoaderInterface method setCharset (line 614) | public function setCharset(string $charset) method getCharset (line 624) | public function getCharset(): string method hasExtension (line 629) | public function hasExtension(string $class): bool method addRuntimeLoader (line 637) | public function addRuntimeLoader(RuntimeLoaderInterface $loader) method getExtension (line 649) | public function getExtension(string $class): ExtensionInterface method getRuntime (line 665) | public function getRuntime(string $class) method addExtension (line 687) | public function addExtension(ExtensionInterface $extension) method setExtensions (line 698) | public function setExtensions(array $extensions) method getExtensions (line 707) | public function getExtensions(): array method addTokenParser (line 715) | public function addTokenParser(TokenParserInterface $parser) method getTokenParsers (line 725) | public function getTokenParsers(): array method getTokenParser (line 733) | public function getTokenParser(string $name): ?TokenParserInterface method registerUndefinedTokenParserCallback (line 741) | public function registerUndefinedTokenParserCallback(callable $callabl... method addNodeVisitor (line 749) | public function addNodeVisitor(NodeVisitorInterface $visitor) method getNodeVisitors (line 759) | public function getNodeVisitors(): array method addFilter (line 767) | public function addFilter(TwigFilter $filter) method getFilter (line 775) | public function getFilter(string $name): ?TwigFilter method registerUndefinedFilterCallback (line 783) | public function registerUndefinedFilterCallback(callable $callable): void method getFilters (line 799) | public function getFilters(): array method addTest (line 807) | public function addTest(TwigTest $test) method getTests (line 817) | public function getTests(): array method getTest (line 825) | public function getTest(string $name): ?TwigTest method registerUndefinedTestCallback (line 833) | public function registerUndefinedTestCallback(callable $callable): void method addFunction (line 841) | public function addFunction(TwigFunction $function) method getFunction (line 849) | public function getFunction(string $name): ?TwigFunction method registerUndefinedFunctionCallback (line 857) | public function registerUndefinedFunctionCallback(callable $callable):... method getFunctions (line 873) | public function getFunctions(): array method addGlobal (line 888) | public function addGlobal(string $name, $value) method getGlobals (line 904) | public function getGlobals(): array method resetGlobals (line 917) | public function resetGlobals(): void method mergeGlobals (line 926) | public function mergeGlobals(array $context): array method getExpressionParsers (line 936) | public function getExpressionParsers(): ExpressionParsers method updateOptionsHash (line 941) | private function updateOptionsHash(): void FILE: src/Error/Error.php class Error (line 36) | class Error extends \Exception method __construct (line 53) | public function __construct(string $message, int $lineno = -1, ?Source... method getRawMessage (line 65) | public function getRawMessage(): string method getTemplateLine (line 70) | public function getTemplateLine(): int method setTemplateLine (line 75) | public function setTemplateLine(int $lineno): void method getSourceContext (line 81) | public function getSourceContext(): ?Source method setSourceContext (line 86) | public function setSourceContext(?Source $source = null): void method guess (line 92) | public function guess(): void method appendMessage (line 102) | public function appendMessage($rawMessage): void method updateRepr (line 108) | private function updateRepr(): void method guessTemplateInfo (line 136) | private function guessTemplateInfo(): void FILE: src/Error/LoaderError.php class LoaderError (line 19) | class LoaderError extends Error FILE: src/Error/RuntimeError.php class RuntimeError (line 20) | class RuntimeError extends Error FILE: src/Error/SyntaxError.php class SyntaxError (line 20) | class SyntaxError extends Error method addSuggestions (line 28) | public function addSuggestions(string $name, array $items): void FILE: src/ExpressionParser.php class ExpressionParser (line 41) | class ExpressionParser method __construct (line 52) | public function __construct( method parseExpression (line 59) | public function parseExpression($precedence = 0) method parsePrimaryExpression (line 73) | public function parsePrimaryExpression() method parseStringExpression (line 83) | public function parseStringExpression() method parseArrayExpression (line 93) | public function parseArrayExpression() method parseSequenceExpression (line 103) | public function parseSequenceExpression() method parseHashExpression (line 113) | public function parseHashExpression() method parseMappingExpression (line 123) | public function parseMappingExpression() method parsePostfixExpression (line 133) | public function parsePostfixExpression($node) method parseSubscriptExpression (line 158) | public function parseSubscriptExpression($node) method parseFilterExpression (line 174) | public function parseFilterExpression($node) method parseFilterExpressionRaw (line 186) | public function parseFilterExpressionRaw($node) method parseArguments (line 213) | public function parseArguments() method parseAssignmentExpression (line 299) | public function parseAssignmentExpression() method parseMultitargetExpression (line 326) | public function parseMultitargetExpression() method checkConstantExpression (line 343) | private function checkConstantExpression(Node $node): bool method parseOnlyArguments (line 363) | public function parseOnlyArguments() FILE: src/ExpressionParser/AbstractExpressionParser.php class AbstractExpressionParser (line 14) | abstract class AbstractExpressionParser implements ExpressionParserInter... method __toString (line 16) | public function __toString(): string method getPrecedenceChange (line 21) | public function getPrecedenceChange(): ?PrecedenceChange method getAliases (line 26) | public function getAliases(): array method getOperatorTokens (line 31) | public function getOperatorTokens(): array FILE: src/ExpressionParser/ExpressionParserDescriptionInterface.php type ExpressionParserDescriptionInterface (line 14) | interface ExpressionParserDescriptionInterface method getDescription (line 16) | public function getDescription(): string; FILE: src/ExpressionParser/ExpressionParserInterface.php type ExpressionParserInterface (line 22) | interface ExpressionParserInterface method __toString (line 24) | public function __toString(): string; method getName (line 26) | public function getName(): string; method getPrecedence (line 28) | public function getPrecedence(): int; method getPrecedenceChange (line 30) | public function getPrecedenceChange(): ?PrecedenceChange; method getAliases (line 35) | public function getAliases(): array; FILE: src/ExpressionParser/ExpressionParserType.php method getType (line 22) | public static function getType(object $object): ExpressionParserType FILE: src/ExpressionParser/ExpressionParsers.php class ExpressionParsers (line 19) | final class ExpressionParsers implements \IteratorAggregate method __construct (line 39) | public function __construct(array $parsers = []) method add (line 49) | public function add(array $parsers): static method getByClass (line 73) | public function getByClass(string $class): ?ExpressionParserInterface method getByName (line 85) | public function getByName(string $interface, string $name): ?Expressio... method getIterator (line 90) | public function getIterator(): \Traversable method getPrecedenceChanges (line 116) | public function getPrecedenceChanges(): \WeakMap method getOperatorTokensFor (line 145) | public static function getOperatorTokensFor(ExpressionParserInterface ... FILE: src/ExpressionParser/Infix/ArgumentsTrait.php type ArgumentsTrait (line 24) | trait ArgumentsTrait method parseCallableArguments (line 26) | private function parseCallableArguments(Parser $parser, int $line, boo... method parseNamedArguments (line 36) | private function parseNamedArguments(Parser $parser, bool $parseOpenPa... FILE: src/ExpressionParser/Infix/ArrowExpressionParser.php class ArrowExpressionParser (line 26) | final class ArrowExpressionParser extends AbstractExpressionParser imple... method parse (line 28) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 34) | public function getName(): string method getDescription (line 39) | public function getDescription(): string method getPrecedence (line 44) | public function getPrecedence(): int method getAssociativity (line 49) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/AssignmentExpressionParser.php class AssignmentExpressionParser (line 29) | class AssignmentExpressionParser extends BinaryOperatorExpressionParser method __construct (line 31) | public function __construct( method parse (line 40) | public function parse(Parser $parser, AbstractExpression $left, Token ... method getDescription (line 62) | public function getDescription(): string FILE: src/ExpressionParser/Infix/BinaryOperatorExpressionParser.php class BinaryOperatorExpressionParser (line 27) | class BinaryOperatorExpressionParser extends AbstractExpressionParser im... method __construct (line 29) | public function __construct( method parse (line 44) | public function parse(Parser $parser, AbstractExpression $left, Token ... method getAssociativity (line 51) | public function getAssociativity(): InfixAssociativity method getName (line 56) | public function getName(): string method getDescription (line 61) | public function getDescription(): string method getPrecedence (line 66) | public function getPrecedence(): int method getPrecedenceChange (line 71) | public function getPrecedenceChange(): ?PrecedenceChange method getAliases (line 76) | public function getAliases(): array FILE: src/ExpressionParser/Infix/ConditionalTernaryExpressionParser.php class ConditionalTernaryExpressionParser (line 27) | final class ConditionalTernaryExpressionParser extends AbstractExpressio... method parse (line 29) | public function parse(Parser $parser, AbstractExpression $left, Token ... method getName (line 43) | public function getName(): string method getDescription (line 48) | public function getDescription(): string method getPrecedence (line 53) | public function getPrecedence(): int method getAssociativity (line 58) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/DotExpressionParser.php class DotExpressionParser (line 34) | final class DotExpressionParser extends AbstractExpressionParser impleme... method parse (line 38) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 81) | public function getName(): string method getAliases (line 86) | public function getAliases(): array method getDescription (line 91) | public function getDescription(): string method getPrecedence (line 96) | public function getPrecedence(): int method getAssociativity (line 101) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/FilterExpressionParser.php class FilterExpressionParser (line 29) | final class FilterExpressionParser extends AbstractExpressionParser impl... method parse (line 35) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 61) | public function getName(): string method getDescription (line 66) | public function getDescription(): string method getPrecedence (line 71) | public function getPrecedence(): int method getPrecedenceChange (line 76) | public function getPrecedenceChange(): ?PrecedenceChange method getAssociativity (line 81) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/FunctionExpressionParser.php class FunctionExpressionParser (line 30) | final class FunctionExpressionParser extends AbstractExpressionParser im... method parse (line 36) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 71) | public function getName(): string method getDescription (line 76) | public function getDescription(): string method getPrecedence (line 81) | public function getPrecedence(): int method getAssociativity (line 86) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/IsExpressionParser.php class IsExpressionParser (line 31) | class IsExpressionParser extends AbstractExpressionParser implements Inf... method parse (line 37) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getPrecedence (line 65) | public function getPrecedence(): int method getName (line 70) | public function getName(): string method getDescription (line 75) | public function getDescription(): string method getAssociativity (line 80) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/Infix/IsNotExpressionParser.php class IsNotExpressionParser (line 22) | final class IsNotExpressionParser extends IsExpressionParser method parse (line 24) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 29) | public function getName(): string FILE: src/ExpressionParser/Infix/SquareBracketExpressionParser.php class SquareBracketExpressionParser (line 30) | final class SquareBracketExpressionParser extends AbstractExpressionPars... method parse (line 32) | public function parse(Parser $parser, AbstractExpression $expr, Token ... method getName (line 72) | public function getName(): string method getDescription (line 77) | public function getDescription(): string method getPrecedence (line 82) | public function getPrecedence(): int method getAssociativity (line 87) | public function getAssociativity(): InfixAssociativity FILE: src/ExpressionParser/InfixExpressionParserInterface.php type InfixExpressionParserInterface (line 19) | interface InfixExpressionParserInterface extends ExpressionParserInterface method parse (line 24) | public function parse(Parser $parser, AbstractExpression $left, Token ... method getAssociativity (line 26) | public function getAssociativity(): InfixAssociativity; FILE: src/ExpressionParser/PrecedenceChange.php class PrecedenceChange (line 19) | class PrecedenceChange method __construct (line 21) | public function __construct( method getPackage (line 28) | public function getPackage(): string method getVersion (line 33) | public function getVersion(): string method getNewPrecedence (line 38) | public function getNewPrecedence(): int FILE: src/ExpressionParser/Prefix/GroupingExpressionParser.php class GroupingExpressionParser (line 28) | final class GroupingExpressionParser extends AbstractExpressionParser im... method parse (line 30) | public function parse(Parser $parser, Token $token): AbstractExpression method toAssignContextVariable (line 65) | private static function toAssignContextVariable(AbstractExpression $ex... method getName (line 74) | public function getName(): string method getDescription (line 79) | public function getDescription(): string method getPrecedence (line 84) | public function getPrecedence(): int FILE: src/ExpressionParser/Prefix/LiteralExpressionParser.php class LiteralExpressionParser (line 31) | final class LiteralExpressionParser extends AbstractExpressionParser imp... method parse (line 33) | public function parse(Parser $parser, Token $token): AbstractExpression method getName (line 96) | public function getName(): string method getOperatorTokens (line 101) | public function getOperatorTokens(): array method getDescription (line 106) | public function getDescription(): string method getPrecedence (line 111) | public function getPrecedence(): int method parseStringExpression (line 117) | private function parseStringExpression(Parser $parser) method parseSequenceExpression (line 145) | private function parseSequenceExpression(Parser $parser) method parseMappingExpression (line 175) | private function parseMappingExpression(Parser $parser) FILE: src/ExpressionParser/Prefix/UnaryOperatorExpressionParser.php class UnaryOperatorExpressionParser (line 26) | final class UnaryOperatorExpressionParser extends AbstractExpressionPars... method __construct (line 28) | public function __construct( method parse (line 43) | public function parse(Parser $parser, Token $token): AbstractExpression method getName (line 48) | public function getName(): string method getDescription (line 53) | public function getDescription(): string method getPrecedence (line 58) | public function getPrecedence(): int method getPrecedenceChange (line 63) | public function getPrecedenceChange(): ?PrecedenceChange method getAliases (line 68) | public function getAliases(): array FILE: src/ExpressionParser/PrefixExpressionParserInterface.php type PrefixExpressionParserInterface (line 19) | interface PrefixExpressionParserInterface extends ExpressionParserInterface method parse (line 24) | public function parse(Parser $parser, Token $token): AbstractExpression; FILE: src/Extension/AbstractExtension.php class AbstractExtension (line 14) | abstract class AbstractExtension implements LastModifiedExtensionInterface method getTokenParsers (line 16) | public function getTokenParsers() method getNodeVisitors (line 21) | public function getNodeVisitors() method getFilters (line 26) | public function getFilters() method getTests (line 31) | public function getTests() method getFunctions (line 36) | public function getFunctions() method getOperators (line 41) | public function getOperators() method getExpressionParsers (line 46) | public function getExpressionParsers(): array method getLastModified (line 51) | public function getLastModified(): int FILE: src/Extension/AttributeExtension.php class AttributeExtension (line 27) | final class AttributeExtension extends AbstractExtension method __construct (line 38) | public function __construct(private string $class) method getClass (line 45) | public function getClass(): string method getFilters (line 50) | public function getFilters(): array method getFunctions (line 59) | public function getFunctions(): array method getTests (line 68) | public function getTests(): array method getLastModified (line 77) | public function getLastModified(): int method initFromAttributes (line 85) | private function initFromAttributes(): void method needsEnvironment (line 163) | private function needsEnvironment(\ReflectionFunctionAbstract $functio... FILE: src/Extension/CoreExtension.php class CoreExtension (line 117) | final class CoreExtension extends AbstractExtension method setDateFormat (line 145) | public function setDateFormat($format = null, $dateIntervalFormat = null) method getDateFormat (line 161) | public function getDateFormat() method setTimezone (line 171) | public function setTimezone($timezone) method getTimezone (line 181) | public function getTimezone() method setNumberFormat (line 197) | public function setNumberFormat($decimal, $decimalPoint, $thousandSep) method getNumberFormat (line 207) | public function getNumberFormat() method getTokenParsers (line 212) | public function getTokenParsers(): array method getFilters (line 236) | public function getFilters(): array method getFunctions (line 290) | public function getFunctions(): array method getTests (line 310) | public function getTests(): array method getNodeVisitors (line 329) | public function getNodeVisitors(): array method getExpressionParsers (line 334) | public function getExpressionParsers(): array method cycle (line 415) | public static function cycle($values, $position): mixed method random (line 454) | public static function random(string $charset, $values = null, $max = ... method formatDate (line 518) | public function formatDate($date, $format = null, $timezone = null): s... method modifyDate (line 544) | public function modifyDate($date, $modifier) method sprintf (line 556) | public static function sprintf($format, ...$values): string method dateConverter (line 564) | public static function dateConverter(Environment $env, $date, $format ... method convertDate (line 581) | public function convertDate($date = null, $timezone = null) method replace (line 636) | public static function replace($str, $from): string method round (line 656) | public static function round($value, $precision = 0, $method = 'common') method formatNumber (line 683) | public function formatNumber($number, $decimal = null, $decimalPoint =... method urlencode (line 708) | public static function urlencode($url): string method merge (line 730) | public static function merge(...$arrays): array method slice (line 757) | public static function slice(string $charset, $item, $start, $length =... method first (line 791) | public static function first(string $charset, $item) method last (line 807) | public static function last(string $charset, $item) method join (line 834) | public static function join($value, $glue = '', $and = null): string method split (line 878) | public static function split(string $charset, $value, $delimiter, $lim... method default (line 906) | public static function default($value, $default = '') method keys (line 926) | public static function keys($array): array method invoke (line 963) | public static function invoke(\Closure $arrow, ...$arguments): mixed method reverse (line 978) | public static function reverse(string $charset, $item, $preserveKeys =... method shuffle (line 1013) | public static function shuffle(string $charset, $item) method sort (line 1047) | public static function sort(Environment $env, $array, $arrow = null): ... method inFilter (line 1069) | public static function inFilter($value, $compare) method compare (line 1121) | public static function compare($a, $b) method matches (line 1180) | public static function matches(string $regexp, ?string $str): int method trim (line 1203) | public static function trim($string, $characterMask = null, $side = 'b... method nl2br (line 1227) | public static function nl2br($string): string method spaceless (line 1239) | public static function spaceless($content): string method convertEncoding (line 1251) | public static function convertEncoding($string, $to, $from): string method length (line 1267) | public static function length(string $charset, $thing): int method upper (line 1299) | public static function upper(string $charset, $string): string method lower (line 1311) | public static function lower(string $charset, $string): string method striptags (line 1324) | public static function striptags($string, $allowable_tags = null): string method titleCase (line 1336) | public static function titleCase(string $charset, $string): string method capitalize (line 1348) | public static function capitalize(string $charset, $string): string method callMacro (line 1358) | public static function callMacro(Template $template, string $method, a... method ensureTraversable (line 1383) | public static function ensureTraversable($seq) method toArray (line 1395) | public static function toArray($seq, $preserveKeys = true) method testEmpty (line 1420) | public static function testEmpty($value): bool method testSequence (line 1447) | public static function testSequence($value): bool method testMapping (line 1470) | public static function testMapping($value): bool method include (line 1495) | public static function include(Environment $env, $context, $template, ... method source (line 1542) | public static function source(Environment $env, $name, $ignoreMissing ... method enumCases (line 1567) | public static function enumCases(string $enum): array method enum (line 1587) | public static function enum(string $enum): \UnitEnum method constant (line 1613) | public static function constant($constant, $object = null, bool $check... method batch (line 1647) | public static function batch($items, $size, $fill = null, $preserveKey... method getAttribute (line 1686) | public static function getAttribute(Environment $env, Source $source, ... method column (line 1949) | public static function column($array, $name, $index = null): array method filter (line 1967) | public static function filter(Environment $env, $array, $arrow) method find (line 1988) | public static function find(Environment $env, $array, $arrow) method map (line 2010) | public static function map(Environment $env, $array, $arrow) method reduce (line 2031) | public static function reduce(Environment $env, $array, $arrow, $initi... method arraySome (line 2052) | public static function arraySome(Environment $env, $array, $arrow) method arrayEvery (line 2074) | public static function arrayEvery(Environment $env, $array, $arrow) method checkArrow (line 2094) | public static function checkArrow(Environment $env, $arrow, $thing, $t... method captureOutput (line 2110) | public static function captureOutput(iterable $body): string method parseParentFunction (line 2133) | public static function parseParentFunction(Parser $parser, Node $fakeN... method parseBlockFunction (line 2149) | public static function parseBlockFunction(Parser $parser, Node $fakeNo... method parseAttributeFunction (line 2160) | public static function parseAttributeFunction(Parser $parser, Node $fa... method getPropertyChecker (line 2177) | private static function getPropertyChecker(string $class, string $prop... FILE: src/Extension/DebugExtension.php class DebugExtension (line 19) | final class DebugExtension extends AbstractExtension method getFunctions (line 21) | public function getFunctions(): array method dump (line 39) | public static function dump(Environment $env, $context, ...$vars) FILE: src/Extension/EscaperExtension.php class EscaperExtension (line 24) | final class EscaperExtension extends AbstractExtension method __construct (line 36) | public function __construct($defaultStrategy = 'html') method getTokenParsers (line 41) | public function getTokenParsers(): array method getNodeVisitors (line 46) | public function getNodeVisitors(): array method getFilters (line 51) | public function getFilters(): array method getLastModified (line 60) | public function getLastModified(): int method setEnvironment (line 71) | public function setEnvironment(Environment $environment): void method setEscaperRuntime (line 87) | public function setEscaperRuntime(EscaperRuntime $escaper) method setDefaultStrategy (line 102) | public function setDefaultStrategy($defaultStrategy): void method getDefaultStrategy (line 118) | public function getDefaultStrategy(string $name) method setEscaper (line 139) | public function setEscaper($strategy, callable $callable) method getEscapers (line 162) | public function getEscapers() method setSafeClasses (line 174) | public function setSafeClasses(array $safeClasses = []) method addSafeClass (line 190) | public function addSafeClass(string $class, array $strategies) method escapeFilterIsSafe (line 206) | public static function escapeFilterIsSafe(Node $filterArgs) FILE: src/Extension/ExtensionInterface.php type ExtensionInterface (line 32) | interface ExtensionInterface method getTokenParsers (line 39) | public function getTokenParsers(); method getNodeVisitors (line 46) | public function getNodeVisitors(); method getFilters (line 53) | public function getFilters(); method getTests (line 60) | public function getTests(); method getFunctions (line 67) | public function getFunctions(); method getOperators (line 79) | public function getOperators(); FILE: src/Extension/GlobalsInterface.php type GlobalsInterface (line 19) | interface GlobalsInterface method getGlobals (line 24) | public function getGlobals(): array; FILE: src/Extension/LastModifiedExtensionInterface.php type LastModifiedExtensionInterface (line 14) | interface LastModifiedExtensionInterface extends ExtensionInterface method getLastModified (line 22) | public function getLastModified(): int; FILE: src/Extension/OptimizerExtension.php class OptimizerExtension (line 16) | final class OptimizerExtension extends AbstractExtension method __construct (line 18) | public function __construct( method getNodeVisitors (line 23) | public function getNodeVisitors(): array FILE: src/Extension/ProfilerExtension.php class ProfilerExtension (line 17) | class ProfilerExtension extends AbstractExtension method __construct (line 21) | public function __construct(Profile $profile) method enter (line 29) | public function enter(Profile $profile) method leave (line 38) | public function leave(Profile $profile) method getNodeVisitors (line 48) | public function getNodeVisitors(): array FILE: src/Extension/RuntimeExtensionInterface.php type RuntimeExtensionInterface (line 17) | interface RuntimeExtensionInterface FILE: src/Extension/SandboxExtension.php class SandboxExtension (line 22) | final class SandboxExtension extends AbstractExtension method __construct (line 29) | public function __construct(SecurityPolicyInterface $policy, $sandboxe... method getTokenParsers (line 36) | public function getTokenParsers(): array method getNodeVisitors (line 41) | public function getNodeVisitors(): array method enableSandbox (line 46) | public function enableSandbox(): void method disableSandbox (line 51) | public function disableSandbox(): void method isSandboxed (line 56) | public function isSandboxed(?Source $source = null): bool method isSandboxedGlobally (line 61) | public function isSandboxedGlobally(): bool method isSourceSandboxed (line 66) | private function isSourceSandboxed(?Source $source): bool method setSecurityPolicy (line 75) | public function setSecurityPolicy(SecurityPolicyInterface $policy): void method getSecurityPolicy (line 80) | public function getSecurityPolicy(): SecurityPolicyInterface method checkSecurity (line 85) | public function checkSecurity($tags, $filters, $functions, ?Source $so... method checkMethodAllowed (line 92) | public function checkMethodAllowed($obj, $method, int $lineno = -1, ?S... method checkPropertyAllowed (line 106) | public function checkPropertyAllowed($obj, $property, int $lineno = -1... method ensureToStringAllowed (line 123) | public function ensureToStringAllowed($obj, int $lineno = -1, ?Source ... method ensureToStringAllowedForArray (line 145) | private function ensureToStringAllowedForArray(array $obj, int $lineno... FILE: src/Extension/StagingExtension.php class StagingExtension (line 27) | final class StagingExtension extends AbstractExtension method addFunction (line 35) | public function addFunction(TwigFunction $function): void method getFunctions (line 44) | public function getFunctions(): array method addFilter (line 49) | public function addFilter(TwigFilter $filter): void method getFilters (line 58) | public function getFilters(): array method addNodeVisitor (line 63) | public function addNodeVisitor(NodeVisitorInterface $visitor): void method getNodeVisitors (line 68) | public function getNodeVisitors(): array method addTokenParser (line 73) | public function addTokenParser(TokenParserInterface $parser): void method getTokenParsers (line 82) | public function getTokenParsers(): array method addTest (line 87) | public function addTest(TwigTest $test): void method getTests (line 96) | public function getTests(): array FILE: src/Extension/StringLoaderExtension.php class StringLoaderExtension (line 18) | final class StringLoaderExtension extends AbstractExtension method getFunctions (line 20) | public function getFunctions(): array method templateFromString (line 36) | public static function templateFromString(Environment $env, string|\St... FILE: src/Extension/YieldNotReadyExtension.php class YieldNotReadyExtension (line 19) | final class YieldNotReadyExtension extends AbstractExtension method __construct (line 21) | public function __construct( method getNodeVisitors (line 26) | public function getNodeVisitors(): array FILE: src/ExtensionSet.php class ExtensionSet (line 39) | final class ExtensionSet method __construct (line 72) | public function __construct() method initRuntime (line 80) | public function initRuntime() method hasExtension (line 85) | public function hasExtension(string $class): bool method getExtension (line 90) | public function getExtension(string $class): ExtensionInterface method setExtensions (line 104) | public function setExtensions(array $extensions): void method getExtensions (line 114) | public function getExtensions(): array method getSignature (line 119) | public function getSignature(): string method isInitialized (line 124) | public function isInitialized(): bool method getLastModified (line 129) | public function getLastModified(): int method addExtension (line 150) | public function addExtension(ExtensionInterface $extension): void method addFunction (line 169) | public function addFunction(TwigFunction $function): void method getFunctions (line 181) | public function getFunctions(): array method getFunction (line 190) | public function getFunction(string $name): ?TwigFunction method registerUndefinedFunctionCallback (line 220) | public function registerUndefinedFunctionCallback(callable $callable):... method addFilter (line 225) | public function addFilter(TwigFilter $filter): void method getFilters (line 237) | public function getFilters(): array method getFilter (line 246) | public function getFilter(string $name): ?TwigFilter method registerUndefinedFilterCallback (line 276) | public function registerUndefinedFilterCallback(callable $callable): void method addNodeVisitor (line 281) | public function addNodeVisitor(NodeVisitorInterface $visitor): void method getNodeVisitors (line 293) | public function getNodeVisitors(): array method addTokenParser (line 302) | public function addTokenParser(TokenParserInterface $parser): void method getTokenParsers (line 314) | public function getTokenParsers(): array method getTokenParser (line 323) | public function getTokenParser(string $name): ?TokenParserInterface method registerUndefinedTokenParserCallback (line 345) | public function registerUndefinedTokenParserCallback(callable $callabl... method getGlobals (line 353) | public function getGlobals(): array method resetGlobals (line 375) | public function resetGlobals(): void method addTest (line 380) | public function addTest(TwigTest $test): void method getTests (line 392) | public function getTests(): array method getTest (line 401) | public function getTest(string $name): ?TwigTest method registerUndefinedTestCallback (line 431) | public function registerUndefinedTestCallback(callable $callable): void method getExpressionParsers (line 436) | public function getExpressionParsers(): ExpressionParsers method initExtensions (line 445) | private function initExtensions(): void method initExtension (line 465) | private function initExtension(ExtensionInterface $extension): void method convertInfixExpressionParser (line 544) | private function convertInfixExpressionParser(string $nodeClass, strin... FILE: src/FileExtensionEscapingStrategy.php class FileExtensionEscapingStrategy (line 25) | class FileExtensionEscapingStrategy method guess (line 34) | public static function guess(string $name) FILE: src/Lexer.php class Lexer (line 21) | class Lexer method __construct (line 73) | public function __construct(Environment $env, array $options = []) method initialize (line 88) | private function initialize(): void method tokenize (line 185) | public function tokenize(Source $source): TokenStream method lexData (line 240) | private function lexData(): void method lexBlock (line 305) | private function lexBlock(): void method lexVar (line 316) | private function lexVar(): void method lexExpression (line 327) | private function lexExpression(): void method stripcslashes (line 384) | private function stripcslashes(string $str, string $quoteType): string method lexRawData (line 441) | private function lexRawData(): void method lexComment (line 465) | private function lexComment(): void method lexString (line 474) | private function lexString(): void method lexInterpolation (line 498) | private function lexInterpolation(): void method pushToken (line 511) | private function pushToken($type, $value = ''): void method moveCursor (line 521) | private function moveCursor($text): void method getOperatorRegex (line 527) | private function getOperatorRegex(): string method pushState (line 560) | private function pushState($state): void method popState (line 566) | private function popState(): void method checkBrackets (line 575) | private function checkBrackets(string $code): void FILE: src/Loader/ArrayLoader.php class ArrayLoader (line 29) | final class ArrayLoader implements LoaderInterface method __construct (line 34) | public function __construct( method setTemplate (line 39) | public function setTemplate(string $name, string $template): void method getSourceContext (line 44) | public function getSourceContext(string $name): Source method exists (line 53) | public function exists(string $name): bool method getCacheKey (line 58) | public function getCacheKey(string $name): string method isFresh (line 67) | public function isFresh(string $name, int $time): bool FILE: src/Loader/ChainLoader.php class ChainLoader (line 22) | final class ChainLoader implements LoaderInterface method __construct (line 32) | public function __construct( method addLoader (line 37) | public function addLoader(LoaderInterface $loader): void method getLoaders (line 52) | public function getLoaders(): array method getSourceContext (line 61) | public function getSourceContext(string $name): Source method exists (line 80) | public function exists(string $name): bool method getCacheKey (line 95) | public function getCacheKey(string $name): string method isFresh (line 114) | public function isFresh(string $name, int $time): bool FILE: src/Loader/FilesystemLoader.php class FilesystemLoader (line 22) | class FilesystemLoader implements LoaderInterface method __construct (line 40) | public function __construct($paths = [], ?string $rootPath = null) method getPaths (line 57) | public function getPaths(string $namespace = self::MAIN_NAMESPACE): array method getNamespaces (line 69) | public function getNamespaces(): array method setPaths (line 77) | public function setPaths($paths, string $namespace = self::MAIN_NAMESP... method addPath (line 92) | public function addPath(string $path, string $namespace = self::MAIN_N... method prependPath (line 108) | public function prependPath(string $path, string $namespace = self::MA... method getSourceContext (line 127) | public function getSourceContext(string $name): Source method getCacheKey (line 136) | public function getCacheKey(string $name): string method exists (line 152) | public function exists(string $name) method isFresh (line 163) | public function isFresh(string $name, int $time): bool method findTemplate (line 176) | protected function findTemplate(string $name, bool $throw = true) method normalizeName (line 237) | private function normalizeName(string $name): string method parseName (line 242) | private function parseName(string $name, string $default = self::MAIN_... method validateName (line 258) | private function validateName(string $name): void method isAbsolutePath (line 280) | private function isAbsolutePath(string $file): bool FILE: src/Loader/LoaderInterface.php type LoaderInterface (line 22) | interface LoaderInterface method getSourceContext (line 29) | public function getSourceContext(string $name): Source; method getCacheKey (line 36) | public function getCacheKey(string $name): string; method isFresh (line 43) | public function isFresh(string $name, int $time): bool; method exists (line 48) | public function exists(string $name); FILE: src/Markup.php class Markup (line 19) | class Markup implements \Countable, \JsonSerializable, \Stringable method __construct (line 24) | public function __construct($content, $charset) method __toString (line 30) | public function __toString(): string method getCharset (line 35) | public function getCharset(): string method count (line 43) | #[\ReturnTypeWillChange] method jsonSerialize (line 52) | #[\ReturnTypeWillChange] FILE: src/Node/AutoEscapeNode.php class AutoEscapeNode (line 28) | #[YieldReady] method __construct (line 31) | public function __construct($value, Node $body, int $lineno) method compile (line 36) | public function compile(Compiler $compiler): void FILE: src/Node/BlockNode.php class BlockNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(string $name, Node $body, int $lineno) method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Node/BlockReferenceNode.php class BlockReferenceNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(string $name, int $lineno) method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Node/BodyNode.php class BodyNode (line 21) | #[YieldReady] FILE: src/Node/CaptureNode.php class CaptureNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(Node $body, int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/CheckSecurityCallNode.php class CheckSecurityCallNode (line 20) | #[YieldReady] method compile (line 26) | public function compile(Compiler $compiler) FILE: src/Node/CheckSecurityNode.php class CheckSecurityNode (line 20) | #[YieldReady] method __construct (line 32) | public function __construct(array $usedFilters, array $usedTags, array... method compile (line 41) | public function compile(Compiler $compiler): void FILE: src/Node/CheckToStringNode.php class CheckToStringNode (line 28) | #[YieldReady] method __construct (line 31) | public function __construct(AbstractExpression $expr) method compile (line 36) | public function compile(Compiler $compiler): void FILE: src/Node/DeprecatedNode.php class DeprecatedNode (line 24) | #[YieldReady] method __construct (line 27) | public function __construct(AbstractExpression $expr, int $lineno) method compile (line 32) | public function compile(Compiler $compiler): void FILE: src/Node/DoNode.php class DoNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(AbstractExpression $expr, int $lineno) method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Node/EmbedNode.php class EmbedNode (line 24) | #[YieldReady] method __construct (line 28) | public function __construct(string $name, int $index, ?AbstractExpress... method addGetTemplate (line 36) | protected function addGetTemplate(Compiler $compiler, string $template... FILE: src/Node/EmptyNode.php class EmptyNode (line 21) | #[YieldReady] method __construct (line 24) | public function __construct(int $lineno = 0) method setNode (line 29) | public function setNode(string $name, Node $node): void FILE: src/Node/Expression/AbstractExpression.php class AbstractExpression (line 22) | abstract class AbstractExpression extends Node method isGenerator (line 24) | public function isGenerator(): bool method setExplicitParentheses (line 32) | public function setExplicitParentheses(): self method hasExplicitParentheses (line 39) | public function hasExplicitParentheses(): bool FILE: src/Node/Expression/ArrayExpression.php class ArrayExpression (line 20) | class ArrayExpression extends AbstractExpression implements SupportDefin... method __construct (line 26) | public function __construct(array $elements, int $lineno) method getKeyValuePairs (line 38) | public function getKeyValuePairs(): array method hasElement (line 51) | public function hasElement(AbstractExpression $key): bool method isSequence (line 69) | public function isSequence(): bool method addElement (line 89) | public function addElement(AbstractExpression $value, ?AbstractExpress... method compile (line 98) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/ArrowFunctionExpression.php class ArrowFunctionExpression (line 25) | class ArrowFunctionExpression extends AbstractExpression method __construct (line 27) | public function __construct(AbstractExpression $expr, Node $names, $li... method compile (line 40) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/AssignNameExpression.php class AssignNameExpression (line 20) | class AssignNameExpression extends ContextVariable method __construct (line 22) | public function __construct(string $name, int $lineno) method compile (line 36) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Binary/AbstractBinary.php class AbstractBinary (line 19) | abstract class AbstractBinary extends AbstractExpression implements Bina... method __construct (line 25) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 37) | public function compile(Compiler $compiler): void method operator (line 52) | abstract public function operator(Compiler $compiler): Compiler; FILE: src/Node/Expression/Binary/AddBinary.php class AddBinary (line 18) | class AddBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/AndBinary.php class AndBinary (line 18) | class AndBinary extends AbstractBinary implements ReturnBoolInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/BinaryInterface.php type BinaryInterface (line 19) | interface BinaryInterface method __construct (line 21) | public function __construct(AbstractExpression $left, AbstractExpressi... FILE: src/Node/Expression/Binary/BitwiseAndBinary.php class BitwiseAndBinary (line 18) | class BitwiseAndBinary extends AbstractBinary implements ReturnNumberInt... method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/BitwiseOrBinary.php class BitwiseOrBinary (line 18) | class BitwiseOrBinary extends AbstractBinary implements ReturnNumberInte... method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/BitwiseXorBinary.php class BitwiseXorBinary (line 18) | class BitwiseXorBinary extends AbstractBinary implements ReturnNumberInt... method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/ConcatBinary.php class ConcatBinary (line 18) | class ConcatBinary extends AbstractBinary implements ReturnStringInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/DivBinary.php class DivBinary (line 18) | class DivBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/ElvisBinary.php class ElvisBinary (line 19) | final class ElvisBinary extends AbstractBinary implements OperatorEscape... method __construct (line 25) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 33) | public function compile(Compiler $compiler): void method operator (line 46) | public function operator(Compiler $compiler): Compiler method getOperandNamesToEscape (line 51) | public function getOperandNamesToEscape(): array FILE: src/Node/Expression/Binary/EndsWithBinary.php class EndsWithBinary (line 17) | class EndsWithBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 32) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/EqualBinary.php class EqualBinary (line 17) | class EqualBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/FloorDivBinary.php class FloorDivBinary (line 17) | class FloorDivBinary extends AbstractBinary implements ReturnNumberInter... method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 26) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/GreaterBinary.php class GreaterBinary (line 17) | class GreaterBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/GreaterEqualBinary.php class GreaterEqualBinary (line 17) | class GreaterEqualBinary extends AbstractBinary implements ReturnBoolInt... method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/HasEveryBinary.php class HasEveryBinary (line 17) | class HasEveryBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 30) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/HasSomeBinary.php class HasSomeBinary (line 17) | class HasSomeBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 30) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/InBinary.php class InBinary (line 17) | class InBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 30) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/LessBinary.php class LessBinary (line 17) | class LessBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/LessEqualBinary.php class LessEqualBinary (line 17) | class LessEqualBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/MatchesBinary.php class MatchesBinary (line 21) | class MatchesBinary extends AbstractBinary implements ReturnBoolInterface method __construct (line 23) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 45) | public function compile(Compiler $compiler): void method operator (line 56) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/ModBinary.php class ModBinary (line 18) | class ModBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/MulBinary.php class MulBinary (line 18) | class MulBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/NotEqualBinary.php class NotEqualBinary (line 17) | class NotEqualBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 36) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/NotInBinary.php class NotInBinary (line 17) | class NotInBinary extends AbstractBinary implements ReturnBoolInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 30) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/NotSameAsBinary.php class NotSameAsBinary (line 17) | class NotSameAsBinary extends AbstractBinary implements ReturnBoolInterface method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/NullCoalesceBinary.php class NullCoalesceBinary (line 25) | final class NullCoalesceBinary extends AbstractBinary implements Operato... method __construct (line 31) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 49) | public function compile(Compiler $compiler): void method operator (line 62) | public function operator(Compiler $compiler): Compiler method getOperandNamesToEscape (line 67) | public function getOperandNamesToEscape(): array FILE: src/Node/Expression/Binary/ObjectDestructuringSetBinary.php class ObjectDestructuringSetBinary (line 24) | class ObjectDestructuringSetBinary extends AbstractBinary method __construct (line 33) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 52) | public function compile(Compiler $compiler): void method operator (line 72) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/OrBinary.php class OrBinary (line 18) | class OrBinary extends AbstractBinary implements ReturnBoolInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/PowerBinary.php class PowerBinary (line 17) | class PowerBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/RangeBinary.php class RangeBinary (line 17) | class RangeBinary extends AbstractBinary implements ReturnArrayInterface method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 30) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/SameAsBinary.php class SameAsBinary (line 17) | class SameAsBinary extends AbstractBinary implements ReturnBoolInterface method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/SequenceDestructuringSetBinary.php class SequenceDestructuringSetBinary (line 25) | class SequenceDestructuringSetBinary extends AbstractBinary method __construct (line 33) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 48) | public function compile(Compiler $compiler): void method operator (line 63) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/SetBinary.php class SetBinary (line 23) | class SetBinary extends AbstractBinary method __construct (line 29) | public function __construct(Node $left, Node $right, int $lineno) method operator (line 40) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/SpaceshipBinary.php class SpaceshipBinary (line 17) | class SpaceshipBinary extends AbstractBinary implements ReturnNumberInte... method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/StartsWithBinary.php class StartsWithBinary (line 17) | class StartsWithBinary extends AbstractBinary implements ReturnBoolInter... method compile (line 19) | public function compile(Compiler $compiler): void method operator (line 32) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/SubBinary.php class SubBinary (line 18) | class SubBinary extends AbstractBinary implements ReturnNumberInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Binary/XorBinary.php class XorBinary (line 18) | class XorBinary extends AbstractBinary implements ReturnBoolInterface method operator (line 20) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/BlockReferenceExpression.php class BlockReferenceExpression (line 23) | class BlockReferenceExpression extends AbstractExpression implements Sup... method __construct (line 31) | public function __construct(Node $name, ?Node $template, int $lineno) method compile (line 45) | public function compile(Compiler $compiler): void method compileTemplateCall (line 63) | private function compileTemplateCall(Compiler $compiler, string $metho... method compileBlockArguments (line 82) | private function compileBlockArguments(Compiler $compiler): Compiler FILE: src/Node/Expression/CallExpression.php class CallExpression (line 25) | abstract class CallExpression extends AbstractExpression method compileCallable (line 32) | protected function compileCallable(Compiler $compiler) method compileArguments (line 70) | protected function compileArguments(Compiler $compiler, $isArray = fal... method getArguments (line 136) | protected function getArguments($callable, $arguments) method normalizeName (line 265) | protected function normalizeName(string $name): string method getCallableParameters (line 273) | private function getCallableParameters($callable, bool $isVariadic): a... method reflectCallable (line 314) | private function reflectCallable(TwigCallableInterface $callable): Ref... method getTwigCallable (line 328) | private function getTwigCallable(): TwigCallableInterface FILE: src/Node/Expression/ConditionalExpression.php class ConditionalExpression (line 18) | class ConditionalExpression extends AbstractExpression implements Operat... method __construct (line 20) | public function __construct(AbstractExpression $expr1, AbstractExpress... method compile (line 27) | public function compile(Compiler $compiler): void method getOperandNamesToEscape (line 49) | public function getOperandNamesToEscape(): array FILE: src/Node/Expression/ConstantExpression.php class ConstantExpression (line 20) | class ConstantExpression extends AbstractExpression implements SupportDe... method __construct (line 24) | public function __construct($value, int $lineno) method compile (line 29) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/EmptyExpression.php class EmptyExpression (line 23) | final class EmptyExpression extends AbstractExpression method __construct (line 25) | public function __construct(int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Filter/DefaultFilter.php class DefaultFilter (line 36) | class DefaultFilter extends FilterExpression method __construct (line 41) | #[FirstClassTwigCallableReady] method compile (line 68) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Filter/RawFilter.php class RawFilter (line 26) | class RawFilter extends FilterExpression method __construct (line 31) | #[FirstClassTwigCallableReady] method compile (line 41) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/FilterExpression.php class FilterExpression (line 21) | class FilterExpression extends CallExpression method __construct (line 26) | #[FirstClassTwigCallableReady] method compile (line 59) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/FunctionExpression.php class FunctionExpression (line 20) | class FunctionExpression extends CallExpression implements SupportDefine... method __construct (line 25) | #[FirstClassTwigCallableReady] method enableDefinedTest (line 50) | public function enableDefinedTest(): void method compile (line 60) | public function compile(Compiler $compiler) FILE: src/Node/Expression/FunctionNode/EnumCasesFunction.php class EnumCasesFunction (line 19) | class EnumCasesFunction extends FunctionExpression method compile (line 21) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/FunctionNode/EnumFunction.php class EnumFunction (line 19) | class EnumFunction extends FunctionExpression method compile (line 21) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/GetAttrExpression.php class GetAttrExpression (line 20) | class GetAttrExpression extends AbstractExpression implements SupportDef... method __construct (line 28) | public function __construct(AbstractExpression $node, AbstractExpressi... method enableDefinedTest (line 42) | public function enableDefinedTest(): void method compile (line 48) | public function compile(Compiler $compiler): void method changeIgnoreStrictCheck (line 160) | private function changeIgnoreStrictCheck(self $node): void method markAsShortCircuited (line 170) | private function markAsShortCircuited(): void method isShortCircuited (line 175) | private function isShortCircuited(): bool method getVarName (line 180) | private function getVarName(Compiler $compiler): string FILE: src/Node/Expression/InlinePrint.php class InlinePrint (line 20) | final class InlinePrint extends AbstractExpression method __construct (line 25) | public function __construct(Node $node, int $lineno) method compile (line 32) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/ListExpression.php class ListExpression (line 17) | class ListExpression extends AbstractExpression method __construct (line 22) | public function __construct(array $items, int $lineno) method compile (line 27) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/MacroReferenceExpression.php class MacroReferenceExpression (line 22) | class MacroReferenceExpression extends AbstractExpression implements Sup... method __construct (line 27) | public function __construct(TemplateVariable $template, string $name, ... method __clone (line 32) | public function __clone() method compile (line 42) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/MethodCallExpression.php class MethodCallExpression (line 17) | class MethodCallExpression extends AbstractExpression implements Support... method __construct (line 22) | public function __construct(AbstractExpression $node, string $method, ... method compile (line 33) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/NameExpression.php class NameExpression (line 18) | class NameExpression extends AbstractExpression implements SupportDefine... method __construct (line 29) | public function __construct(string $name, int $lineno) method compile (line 38) | public function compile(Compiler $compiler): void method isSpecial (line 99) | public function isSpecial() method isSimple (line 109) | public function isSimple() FILE: src/Node/Expression/NullCoalesceExpression.php class NullCoalesceExpression (line 25) | class NullCoalesceExpression extends ConditionalExpression method __construct (line 31) | public function __construct(Node $left, Node $right, int $lineno) method compile (line 55) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/OperatorEscapeInterface.php type OperatorEscapeInterface (line 19) | interface OperatorEscapeInterface method getOperandNamesToEscape (line 24) | public function getOperandNamesToEscape(): array; FILE: src/Node/Expression/ParentExpression.php class ParentExpression (line 22) | class ParentExpression extends AbstractExpression method __construct (line 24) | public function __construct(string $name, int $lineno) method compile (line 29) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/ReturnArrayInterface.php type ReturnArrayInterface (line 14) | interface ReturnArrayInterface extends ReturnPrimitiveTypeInterface FILE: src/Node/Expression/ReturnBoolInterface.php type ReturnBoolInterface (line 14) | interface ReturnBoolInterface extends ReturnPrimitiveTypeInterface FILE: src/Node/Expression/ReturnNumberInterface.php type ReturnNumberInterface (line 14) | interface ReturnNumberInterface extends ReturnPrimitiveTypeInterface FILE: src/Node/Expression/ReturnPrimitiveTypeInterface.php type ReturnPrimitiveTypeInterface (line 14) | interface ReturnPrimitiveTypeInterface FILE: src/Node/Expression/ReturnStringInterface.php type ReturnStringInterface (line 14) | interface ReturnStringInterface extends ReturnPrimitiveTypeInterface FILE: src/Node/Expression/SupportDefinedTestDeprecationTrait.php type SupportDefinedTestDeprecationTrait (line 21) | trait SupportDefinedTestDeprecationTrait method getAttribute (line 23) | public function getAttribute($name, $default = null) method setAttribute (line 34) | public function setAttribute(string $name, $value): void FILE: src/Node/Expression/SupportDefinedTestInterface.php type SupportDefinedTestInterface (line 19) | interface SupportDefinedTestInterface method enableDefinedTest (line 21) | public function enableDefinedTest(): void; method isDefinedTestEnabled (line 23) | public function isDefinedTestEnabled(): bool; FILE: src/Node/Expression/SupportDefinedTestTrait.php type SupportDefinedTestTrait (line 14) | trait SupportDefinedTestTrait method enableDefinedTest (line 18) | public function enableDefinedTest(): void method isDefinedTestEnabled (line 23) | public function isDefinedTestEnabled(): bool FILE: src/Node/Expression/TempNameExpression.php class TempNameExpression (line 17) | class TempNameExpression extends AbstractExpression method __construct (line 21) | public function __construct(string|int|null $name, int $lineno) method compile (line 41) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Ternary/ConditionalTernary.php class ConditionalTernary (line 21) | final class ConditionalTernary extends AbstractExpression implements Ope... method __construct (line 23) | public function __construct(AbstractExpression $test, AbstractExpressi... method compile (line 32) | public function compile(Compiler $compiler): void method getOperandNamesToEscape (line 45) | public function getOperandNamesToEscape(): array FILE: src/Node/Expression/Test/ConstantTest.php class ConstantTest (line 26) | class ConstantTest extends TestExpression method compile (line 28) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/DefinedTest.php class DefinedTest (line 33) | class DefinedTest extends TestExpression method __construct (line 38) | #[FirstClassTwigCallableReady] method compile (line 58) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/DivisiblebyTest.php class DivisiblebyTest (line 24) | class DivisiblebyTest extends TestExpression method compile (line 26) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/EvenTest.php class EvenTest (line 24) | class EvenTest extends TestExpression method compile (line 26) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/NullTest.php class NullTest (line 24) | class NullTest extends TestExpression method compile (line 26) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/OddTest.php class OddTest (line 24) | class OddTest extends TestExpression method compile (line 26) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/SameasTest.php class SameasTest (line 22) | class SameasTest extends TestExpression method compile (line 24) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Test/TrueTest.php class TrueTest (line 24) | class TrueTest extends TestExpression method compile (line 26) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/TestExpression.php class TestExpression (line 20) | class TestExpression extends CallExpression implements ReturnBoolInterface method __construct (line 22) | #[FirstClassTwigCallableReady] method compile (line 56) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Unary/AbstractUnary.php class AbstractUnary (line 19) | abstract class AbstractUnary extends AbstractExpression implements Unary... method __construct (line 24) | public function __construct(Node $node, int $lineno) method compile (line 33) | public function compile(Compiler $compiler): void method operator (line 47) | abstract public function operator(Compiler $compiler): Compiler; FILE: src/Node/Expression/Unary/NegUnary.php class NegUnary (line 17) | class NegUnary extends AbstractUnary method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Unary/NotUnary.php class NotUnary (line 17) | class NotUnary extends AbstractUnary method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Unary/PosUnary.php class PosUnary (line 17) | class PosUnary extends AbstractUnary method operator (line 19) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Unary/SpreadUnary.php class SpreadUnary (line 16) | final class SpreadUnary extends AbstractUnary method operator (line 18) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Unary/StringCastUnary.php class StringCastUnary (line 16) | final class StringCastUnary extends AbstractUnary method operator (line 18) | public function operator(Compiler $compiler): Compiler FILE: src/Node/Expression/Unary/UnaryInterface.php type UnaryInterface (line 19) | interface UnaryInterface method __construct (line 21) | public function __construct(AbstractExpression $node, int $lineno); FILE: src/Node/Expression/Variable/AssignContextVariable.php class AssignContextVariable (line 16) | final class AssignContextVariable extends AssignNameExpression FILE: src/Node/Expression/Variable/AssignTemplateVariable.php class AssignTemplateVariable (line 17) | final class AssignTemplateVariable extends AbstractExpression method __construct (line 19) | public function __construct(TemplateVariable $var, bool $global = true) method compile (line 24) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/Variable/ContextVariable.php class ContextVariable (line 16) | class ContextVariable extends NameExpression FILE: src/Node/Expression/Variable/LocalVariable.php class LocalVariable (line 16) | final class LocalVariable extends TempNameExpression FILE: src/Node/Expression/Variable/TemplateVariable.php class TemplateVariable (line 17) | class TemplateVariable extends TempNameExpression method getName (line 19) | public function getName(Compiler $compiler): string method compile (line 28) | public function compile(Compiler $compiler): void FILE: src/Node/Expression/VariadicExpression.php class VariadicExpression (line 16) | class VariadicExpression extends ArrayExpression method compile (line 18) | public function compile(Compiler $compiler): void FILE: src/Node/FlushNode.php class FlushNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/ForElseNode.php class ForElseNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(Node $body, int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/ForLoopNode.php class ForLoopNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/ForNode.php class ForNode (line 25) | #[YieldReady] method __construct (line 30) | public function __construct(AssignContextVariable $keyTarget, AssignCo... method compile (line 52) | public function compile(Compiler $compiler): void FILE: src/Node/IfNode.php class IfNode (line 26) | #[YieldReady] method __construct (line 29) | public function __construct(Node $tests, ?Node $else, int $lineno) method compile (line 45) | public function compile(Compiler $compiler): void FILE: src/Node/ImportNode.php class ImportNode (line 25) | #[YieldReady] method __construct (line 28) | public function __construct(AbstractExpression $expr, AbstractExpressi... method compile (line 43) | public function compile(Compiler $compiler): void FILE: src/Node/IncludeNode.php class IncludeNode (line 24) | #[YieldReady] method __construct (line 27) | public function __construct(AbstractExpression $expr, ?AbstractExpress... method compile (line 37) | public function compile(Compiler $compiler): void method addGetTemplate (line 84) | protected function addGetTemplate(Compiler $compiler/* , string $templ... method addTemplateArguments (line 98) | protected function addTemplateArguments(Compiler $compiler) FILE: src/Node/MacroNode.php class MacroNode (line 25) | #[YieldReady] method __construct (line 34) | public function __construct(string $name, Node $body, Node $arguments,... method compile (line 59) | public function compile(Compiler $compiler): void FILE: src/Node/ModuleNode.php class ModuleNode (line 30) | #[YieldReady] method __construct (line 36) | public function __construct(Node $body, ?AbstractExpression $parent, N... method setIndex (line 79) | public function setIndex($index) method compile (line 84) | public function compile(Compiler $compiler): void method compileTemplate (line 96) | protected function compileTemplate(Compiler $compiler) method compileGetParent (line 128) | protected function compileGetParent(Compiler $compiler) method compileClassHeader (line 164) | protected function compileClassHeader(Compiler $compiler) method compileConstructor (line 205) | protected function compileConstructor(Compiler $compiler) method compileDisplay (line 345) | protected function compileDisplay(Compiler $compiler) method compileClassFooter (line 393) | protected function compileClassFooter(Compiler $compiler) method compileMacros (line 405) | protected function compileMacros(Compiler $compiler) method compileGetTemplateName (line 413) | protected function compileGetTemplateName(Compiler $compiler) method compileIsTraitable (line 432) | protected function compileIsTraitable(Compiler $compiler) method compileDebugInfo (line 482) | protected function compileDebugInfo(Compiler $compiler) method compileGetSourceContext (line 499) | protected function compileGetSourceContext(Compiler $compiler) FILE: src/Node/NameDeprecation.php class NameDeprecation (line 19) | class NameDeprecation method __construct (line 25) | public function __construct(string $package = '', string $version = ''... method getPackage (line 32) | public function getPackage(): string method getVersion (line 37) | public function getVersion(): string method getNewName (line 42) | public function getNewName(): string FILE: src/Node/Node.php class Node (line 26) | #[YieldReady] method __construct (line 48) | public function __construct(array $nodes = [], array $attributes = [],... method __toString (line 68) | public function __toString(): string method __clone (line 108) | public function __clone() method compile (line 118) | public function compile(Compiler $compiler) method getTemplateLine (line 125) | public function getTemplateLine(): int method getNodeTag (line 130) | public function getNodeTag(): ?string method setNodeTag (line 138) | public function setNodeTag(string $tag): void method hasAttribute (line 147) | public function hasAttribute(string $name): bool method getAttribute (line 152) | public function getAttribute(string $name) method setAttribute (line 171) | public function setAttribute(string $name, $value): void method deprecateAttribute (line 186) | public function deprecateAttribute(string $name, NameDeprecation $dep)... method removeAttribute (line 191) | public function removeAttribute(string $name): void method hasNode (line 199) | public function hasNode(string $name): bool method getNode (line 207) | public function getNode(string $name): self method setNode (line 229) | public function setNode(string $name, self $node): void method removeNode (line 250) | public function removeNode(string $name): void method deprecateNode (line 258) | public function deprecateNode(string $name, NameDeprecation $dep): void method count (line 266) | #[\ReturnTypeWillChange] method getIterator (line 272) | public function getIterator(): \Traversable method getTemplateName (line 277) | public function getTemplateName(): ?string method setSourceContext (line 282) | public function setSourceContext(Source $source): void method getSourceContext (line 290) | public function getSourceContext(): ?Source FILE: src/Node/NodeCaptureInterface.php type NodeCaptureInterface (line 19) | interface NodeCaptureInterface FILE: src/Node/NodeOutputInterface.php type NodeOutputInterface (line 19) | interface NodeOutputInterface FILE: src/Node/Nodes.php class Nodes (line 21) | #[YieldReady] method __construct (line 24) | public function __construct(array $nodes = [], int $lineno = 0) FILE: src/Node/PrintNode.php class PrintNode (line 24) | #[YieldReady] method __construct (line 27) | public function __construct(AbstractExpression $expr, int $lineno) method compile (line 32) | public function compile(Compiler $compiler): void FILE: src/Node/SandboxNode.php class SandboxNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(Node $body, int $lineno) method compile (line 30) | public function compile(Compiler $compiler): void FILE: src/Node/SetNode.php class SetNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(bool $capture, Node $names, Node $values, ... method compile (line 54) | public function compile(Compiler $compiler): void FILE: src/Node/TextNode.php class TextNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(string $data, int $lineno) method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Node/TypesNode.php class TypesNode (line 22) | #[YieldReady] method __construct (line 28) | public function __construct(array $types, int $lineno) method compile (line 36) | public function compile(Compiler $compiler) FILE: src/Node/WithNode.php class WithNode (line 22) | #[YieldReady] method __construct (line 25) | public function __construct(Node $body, ?Node $variables, bool $only, ... method compile (line 35) | public function compile(Compiler $compiler): void FILE: src/NodeTraverser.php class NodeTraverser (line 24) | final class NodeTraverser method __construct (line 32) | public function __construct(Environment $env, array $visitors = []) method addVisitor (line 40) | public function addVisitor(NodeVisitorInterface $visitor): void method traverse (line 48) | public function traverse(Node $node): Node method traverseForVisitor (line 60) | private function traverseForVisitor(NodeVisitorInterface $visitor, Nod... FILE: src/NodeVisitor/AbstractNodeVisitor.php class AbstractNodeVisitor (line 24) | abstract class AbstractNodeVisitor implements NodeVisitorInterface method enterNode (line 26) | final public function enterNode(Node $node, Environment $env): Node method leaveNode (line 31) | final public function leaveNode(Node $node, Environment $env): ?Node method doEnterNode (line 41) | abstract protected function doEnterNode(Node $node, Environment $env); method doLeaveNode (line 48) | abstract protected function doLeaveNode(Node $node, Environment $env); FILE: src/NodeVisitor/EscaperNodeVisitor.php class EscaperNodeVisitor (line 35) | final class EscaperNodeVisitor implements NodeVisitorInterface method __construct (line 44) | public function __construct() method enterNode (line 49) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 68) | public function leaveNode(Node $node, Environment $env): ?Node method escapeConditional (line 99) | private function escapeConditional($expression, Environment $env, stri... method escapeExpression (line 112) | private function escapeExpression(AbstractExpression $expression, Envi... method preEscapeFilterNode (line 117) | private function preEscapeFilterNode(FilterExpression $filter, Environ... method isSafeFor (line 142) | private function isSafeFor(string $type, AbstractExpression $expressio... method needEscaping (line 163) | private function needEscaping(): string|bool method getEscaperFilter (line 172) | private function getEscaperFilter(Environment $env, string $type, Abst... method getPriority (line 181) | public function getPriority(): int FILE: src/NodeVisitor/NodeVisitorInterface.php type NodeVisitorInterface (line 22) | interface NodeVisitorInterface method enterNode (line 29) | public function enterNode(Node $node, Environment $env): Node; method leaveNode (line 36) | public function leaveNode(Node $node, Environment $env): ?Node; method getPriority (line 45) | public function getPriority(); FILE: src/NodeVisitor/OptimizerNodeVisitor.php class OptimizerNodeVisitor (line 40) | final class OptimizerNodeVisitor implements NodeVisitorInterface method __construct (line 54) | public function __construct( method enterNode (line 70) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 79) | public function leaveNode(Node $node, Environment $env): ?Node method optimizePrintNode (line 97) | private function optimizePrintNode(Node $node): Node method enterOptimizeFor (line 124) | private function enterOptimizeFor(Node $node): void method leaveOptimizeFor (line 188) | private function leaveOptimizeFor(Node $node): void method addLoopToCurrent (line 197) | private function addLoopToCurrent(): void method addLoopToAll (line 202) | private function addLoopToAll(): void method getPriority (line 209) | public function getPriority(): int FILE: src/NodeVisitor/SafeAnalysisNodeVisitor.php class SafeAnalysisNodeVisitor (line 30) | final class SafeAnalysisNodeVisitor implements NodeVisitorInterface method setSafeVars (line 35) | public function setSafeVars(array $safeVars): void method getSafe (line 43) | public function getSafe(Node $node) method setSafe (line 70) | private function setSafe(Node $node, array $safe): void method enterNode (line 88) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 93) | public function leaveNode(Node $node, Environment $env): ?Node method intersectSafe (line 164) | private function intersectSafe(array $a, array $b): array method getPriority (line 181) | public function getPriority(): int FILE: src/NodeVisitor/SandboxNodeVisitor.php class SandboxNodeVisitor (line 37) | final class SandboxNodeVisitor implements NodeVisitorInterface method enterNode (line 48) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 106) | public function leaveNode(Node $node, Environment $env): ?Node method wrapNode (line 122) | private function wrapNode(Node $node, string $name): void method wrapArrayNode (line 136) | private function wrapArrayNode(Node $node, string $name): void method getPriority (line 144) | public function getPriority(): int FILE: src/NodeVisitor/YieldNotReadyNodeVisitor.php class YieldNotReadyNodeVisitor (line 22) | final class YieldNotReadyNodeVisitor implements NodeVisitorInterface method __construct (line 26) | public function __construct( method enterNode (line 31) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 50) | public function leaveNode(Node $node, Environment $env): ?Node method getPriority (line 55) | public function getPriority(): int FILE: src/OperatorPrecedenceChange.php class OperatorPrecedenceChange (line 23) | class OperatorPrecedenceChange extends PrecedenceChange method __construct (line 25) | public function __construct( FILE: src/Parser.php class Parser (line 43) | class Parser method __construct (line 61) | public function __construct( method getEnvironment (line 67) | public function getEnvironment(): Environment method getVarName (line 72) | public function getVarName(): string method parse (line 82) | public function parse(TokenStream $stream, $test = null, bool $dropNee... method shouldIgnoreUnknownTwigCallables (line 148) | public function shouldIgnoreUnknownTwigCallables(): bool method subparseIgnoreUnknownTwigCallables (line 153) | public function subparseIgnoreUnknownTwigCallables($test, bool $dropNe... method subparse (line 167) | public function subparse($test, bool $dropNeedle = false): Node method getBlockStack (line 245) | public function getBlockStack(): array method peekBlockStack (line 255) | public function peekBlockStack() method popBlockStack (line 260) | public function popBlockStack(): void method pushBlockStack (line 265) | public function pushBlockStack($name): void method hasBlock (line 270) | public function hasBlock(string $name): bool method getBlock (line 277) | public function getBlock(string $name): Node method setBlock (line 284) | public function setBlock(string $name, BlockNode $value): void method hasMacro (line 293) | public function hasMacro(string $name): bool method setMacro (line 300) | public function setMacro(string $name, MacroNode $node): void method addTrait (line 305) | public function addTrait($trait): void method hasTraits (line 310) | public function hasTraits(): bool method embedTemplate (line 320) | public function embedTemplate(ModuleNode $template) method addImportedSymbol (line 327) | public function addImportedSymbol(string $type, string $alias, ?string... method getImportedSymbol (line 341) | public function getImportedSymbol(string $type, string $alias) method isMainScope (line 347) | public function isMainScope(): bool method pushLocalScope (line 352) | public function pushLocalScope(): void method popLocalScope (line 357) | public function popLocalScope(): void method getExpressionParser (line 365) | public function getExpressionParser(): ExpressionParser method parseExpression (line 376) | public function parseExpression(int $precedence = 0): AbstractExpression method getParent (line 398) | public function getParent(): ?Node method hasInheritance (line 408) | public function hasInheritance() method setParent (line 413) | public function setParent(?Node $parent): void method getStream (line 430) | public function getStream(): TokenStream method getCurrentToken (line 435) | public function getCurrentToken(): Token method getFunction (line 440) | public function getFunction(string $name, int $line): TwigFunction method getFilter (line 470) | public function getFilter(string $name, int $line): TwigFilter method getTest (line 499) | public function getTest(int $line): TwigTest method filterBodyNodes (line 547) | private function filterBodyNodes(Node $node, bool $nested = false): ?Node method checkPrecedenceDeprecations (line 595) | private function checkPrecedenceDeprecations(ExpressionParserInterface... FILE: src/Profiler/Dumper/BaseDumper.php class BaseDumper (line 19) | abstract class BaseDumper method dump (line 23) | public function dump(Profile $profile): string method formatTemplate (line 28) | abstract protected function formatTemplate(Profile $profile, $prefix):... method formatNonTemplate (line 30) | abstract protected function formatNonTemplate(Profile $profile, $prefi... method formatTime (line 32) | abstract protected function formatTime(Profile $profile, $percent): st... method dumpProfile (line 34) | private function dumpProfile(Profile $profile, $prefix = '', $sibling ... FILE: src/Profiler/Dumper/BlackfireDumper.php class BlackfireDumper (line 19) | final class BlackfireDumper method dump (line 21) | public function dump(Profile $profile): string method dumpChildren (line 43) | private function dumpChildren(string $parent, Profile $profile, &$data... method dumpProfile (line 56) | private function dumpProfile(string $edge, Profile $profile, &$data): ... FILE: src/Profiler/Dumper/HtmlDumper.php class HtmlDumper (line 19) | final class HtmlDumper extends BaseDumper method dump (line 28) | public function dump(Profile $profile): string method formatTemplate (line 33) | protected function formatTemplate(Profile $profile, $prefix): string method formatNonTemplate (line 38) | protected function formatNonTemplate(Profile $profile, $prefix): string method formatTime (line 43) | protected function formatTime(Profile $profile, $percent): string FILE: src/Profiler/Dumper/TextDumper.php class TextDumper (line 19) | final class TextDumper extends BaseDumper method formatTemplate (line 21) | protected function formatTemplate(Profile $profile, $prefix): string method formatNonTemplate (line 26) | protected function formatNonTemplate(Profile $profile, $prefix): string method formatTime (line 31) | protected function formatTime(Profile $profile, $percent): string FILE: src/Profiler/Node/EnterProfileNode.php class EnterProfileNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(string $extensionName, string $type, strin... method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Profiler/Node/LeaveProfileNode.php class LeaveProfileNode (line 23) | #[YieldReady] method __construct (line 26) | public function __construct(string $varName) method compile (line 31) | public function compile(Compiler $compiler): void FILE: src/Profiler/NodeVisitor/ProfilerNodeVisitor.php class ProfilerNodeVisitor (line 29) | final class ProfilerNodeVisitor implements NodeVisitorInterface method __construct (line 33) | public function __construct( method enterNode (line 39) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 44) | public function leaveNode(Node $node, Environment $env): ?Node method getPriority (line 66) | public function getPriority(): int FILE: src/Profiler/Profile.php class Profile (line 17) | final class Profile implements \IteratorAggregate, \Serializable method __construct (line 27) | public function __construct( method getTemplate (line 36) | public function getTemplate(): string method getType (line 41) | public function getType(): string method getName (line 46) | public function getName(): string method isRoot (line 51) | public function isRoot(): bool method isTemplate (line 56) | public function isTemplate(): bool method isBlock (line 61) | public function isBlock(): bool method isMacro (line 66) | public function isMacro(): bool method getProfiles (line 74) | public function getProfiles(): array method addProfile (line 79) | public function addProfile(self $profile): void method getDuration (line 87) | public function getDuration(): float method getStartTime (line 105) | public function getStartTime(): float method getEndTime (line 113) | public function getEndTime(): float method getMemoryUsage (line 121) | public function getMemoryUsage(): int method getPeakMemoryUsage (line 129) | public function getPeakMemoryUsage(): int method enter (line 137) | public function enter(): void method leave (line 149) | public function leave(): void method reset (line 158) | public function reset(): void method getIterator (line 164) | public function getIterator(): \Traversable method serialize (line 169) | public function serialize(): string method unserialize (line 174) | public function unserialize($data): void method __serialize (line 182) | public function __serialize(): array method __unserialize (line 190) | public function __unserialize(array $data): void FILE: src/Resources/core.php function twig_cycle (line 20) | function twig_cycle($values, $position) function twig_random (line 32) | function twig_random(Environment $env, $values = null, $max = null) function twig_date_format_filter (line 44) | function twig_date_format_filter(Environment $env, $date, $format = null... function twig_date_modify_filter (line 56) | function twig_date_modify_filter(Environment $env, $date, $modifier) function twig_sprintf (line 68) | function twig_sprintf($format, ...$values) function twig_date_converter (line 80) | function twig_date_converter(Environment $env, $date = null, $timezone =... function twig_replace_filter (line 92) | function twig_replace_filter($str, $from) function twig_round (line 104) | function twig_round($value, $precision = 0, $method = 'common') function twig_number_format_filter (line 116) | function twig_number_format_filter(Environment $env, $number, $decimal =... function twig_urlencode_filter (line 128) | function twig_urlencode_filter($url) function twig_array_merge (line 140) | function twig_array_merge(...$arrays) function twig_slice (line 152) | function twig_slice(Environment $env, $item, $start, $length = null, $pr... function twig_first (line 164) | function twig_first(Environment $env, $item) function twig_last (line 176) | function twig_last(Environment $env, $item) function twig_join_filter (line 188) | function twig_join_filter($value, $glue = '', $and = null) function twig_split_filter (line 200) | function twig_split_filter(Environment $env, $value, $delimiter, $limit ... function twig_get_array_keys_filter (line 212) | function twig_get_array_keys_filter($array) function twig_reverse_filter (line 224) | function twig_reverse_filter(Environment $env, $item, $preserveKeys = fa... function twig_sort_filter (line 236) | function twig_sort_filter(Environment $env, $array, $arrow = null) function twig_matches (line 248) | function twig_matches(string $regexp, ?string $str) function twig_trim_filter (line 260) | function twig_trim_filter($string, $characterMask = null, $side = 'both') function twig_nl2br (line 272) | function twig_nl2br($string) function twig_spaceless (line 284) | function twig_spaceless($content) function twig_convert_encoding (line 296) | function twig_convert_encoding($string, $to, $from) function twig_length_filter (line 308) | function twig_length_filter(Environment $env, $thing) function twig_upper_filter (line 320) | function twig_upper_filter(Environment $env, $string) function twig_lower_filter (line 332) | function twig_lower_filter(Environment $env, $string) function twig_striptags (line 344) | function twig_striptags($string, $allowable_tags = null) function twig_title_string_filter (line 356) | function twig_title_string_filter(Environment $env, $string) function twig_capitalize_string_filter (line 368) | function twig_capitalize_string_filter(Environment $env, $string) function twig_test_empty (line 380) | function twig_test_empty($value) function twig_test_iterable (line 392) | function twig_test_iterable($value) function twig_include (line 404) | function twig_include(Environment $env, $context, $template, $variables ... function twig_source (line 416) | function twig_source(Environment $env, $name, $ignoreMissing = false) function twig_constant (line 428) | function twig_constant($constant, $object = null) function twig_constant_is_defined (line 440) | function twig_constant_is_defined($constant, $object = null) function twig_array_batch (line 452) | function twig_array_batch($items, $size, $fill = null, $preserveKeys = t... function twig_array_column (line 464) | function twig_array_column($array, $name, $index = null): array function twig_array_filter (line 476) | function twig_array_filter(Environment $env, $array, $arrow) function twig_array_map (line 488) | function twig_array_map(Environment $env, $array, $arrow) function twig_array_reduce (line 500) | function twig_array_reduce(Environment $env, $array, $arrow, $initial = ... function twig_array_some (line 512) | function twig_array_some(Environment $env, $array, $arrow) function twig_array_every (line 524) | function twig_array_every(Environment $env, $array, $arrow) function twig_check_arrow_in_sandbox (line 536) | function twig_check_arrow_in_sandbox(Environment $env, $arrow, $thing, $... FILE: src/Resources/debug.php function twig_var_dump (line 20) | function twig_var_dump(Environment $env, $context, ...$vars) FILE: src/Resources/escaper.php function twig_raw_filter (line 22) | function twig_raw_filter($string) function twig_escape_filter (line 34) | function twig_escape_filter(Environment $env, $string, $strategy = 'html... function twig_escape_filter_is_safe (line 46) | function twig_escape_filter_is_safe(Node $filterArgs) FILE: src/Resources/string_loader.php function twig_template_from_string (line 21) | function twig_template_from_string(Environment $env, $template, ?string ... FILE: src/Runtime/EscaperRuntime.php class EscaperRuntime (line 18) | final class EscaperRuntime implements RuntimeExtensionInterface method __construct (line 29) | public function __construct( method setEscaper (line 42) | public function setEscaper($strategy, callable $callable) method getEscapers (line 52) | public function getEscapers() method setSafeClasses (line 62) | public function setSafeClasses(array $safeClasses = []) method addSafeClass (line 77) | public function addSafeClass(string $class, array $strategies) method escape (line 100) | public function escape($string, string $strategy = 'html', ?string $ch... method convertEncoding (line 338) | private function convertEncoding(string $string, string $to, string $f... FILE: src/RuntimeLoader/ContainerRuntimeLoader.php class ContainerRuntimeLoader (line 24) | class ContainerRuntimeLoader implements RuntimeLoaderInterface method __construct (line 26) | public function __construct( method load (line 31) | public function load(string $class) FILE: src/RuntimeLoader/FactoryRuntimeLoader.php class FactoryRuntimeLoader (line 19) | class FactoryRuntimeLoader implements RuntimeLoaderInterface method __construct (line 24) | public function __construct( method load (line 29) | public function load(string $class) FILE: src/RuntimeLoader/RuntimeLoaderInterface.php type RuntimeLoaderInterface (line 19) | interface RuntimeLoaderInterface method load (line 26) | public function load(string $class); FILE: src/Sandbox/SecurityError.php class SecurityError (line 21) | class SecurityError extends Error FILE: src/Sandbox/SecurityNotAllowedFilterError.php class SecurityNotAllowedFilterError (line 19) | final class SecurityNotAllowedFilterError extends SecurityError method __construct (line 23) | public function __construct(string $message, string $functionName) method getFilterName (line 29) | public function getFilterName(): string FILE: src/Sandbox/SecurityNotAllowedFunctionError.php class SecurityNotAllowedFunctionError (line 19) | final class SecurityNotAllowedFunctionError extends SecurityError method __construct (line 23) | public function __construct(string $message, string $functionName) method getFunctionName (line 29) | public function getFunctionName(): string FILE: src/Sandbox/SecurityNotAllowedMethodError.php class SecurityNotAllowedMethodError (line 19) | final class SecurityNotAllowedMethodError extends SecurityError method __construct (line 24) | public function __construct(string $message, string $className, string... method getClassName (line 31) | public function getClassName(): string method getMethodName (line 36) | public function getMethodName(): string FILE: src/Sandbox/SecurityNotAllowedPropertyError.php class SecurityNotAllowedPropertyError (line 19) | final class SecurityNotAllowedPropertyError extends SecurityError method __construct (line 24) | public function __construct(string $message, string $className, string... method getClassName (line 31) | public function getClassName(): string method getPropertyName (line 36) | public function getPropertyName(): string FILE: src/Sandbox/SecurityNotAllowedTagError.php class SecurityNotAllowedTagError (line 19) | final class SecurityNotAllowedTagError extends SecurityError method __construct (line 23) | public function __construct(string $message, string $tagName) method getTagName (line 29) | public function getTagName(): string FILE: src/Sandbox/SecurityPolicy.php class SecurityPolicy (line 22) | final class SecurityPolicy implements SecurityPolicyInterface method __construct (line 30) | public function __construct(array $allowedTags = [], array $allowedFil... method setAllowedTags (line 39) | public function setAllowedTags(array $tags): void method setAllowedFilters (line 44) | public function setAllowedFilters(array $filters): void method setAllowedMethods (line 49) | public function setAllowedMethods(array $methods): void method setAllowedProperties (line 57) | public function setAllowedProperties(array $properties): void method setAllowedFunctions (line 62) | public function setAllowedFunctions(array $functions): void method checkSecurity (line 67) | public function checkSecurity($tags, $filters, $functions): void method checkMethodAllowed (line 94) | public function checkMethodAllowed($obj, $method): void method checkPropertyAllowed (line 115) | public function checkPropertyAllowed($obj, $property): void FILE: src/Sandbox/SecurityPolicyInterface.php type SecurityPolicyInterface (line 19) | interface SecurityPolicyInterface method checkSecurity (line 28) | public function checkSecurity($tags, $filters, $functions): void; method checkMethodAllowed (line 36) | public function checkMethodAllowed($obj, $method): void; method checkPropertyAllowed (line 44) | public function checkPropertyAllowed($obj, $property): void; FILE: src/Sandbox/SourcePolicyInterface.php type SourcePolicyInterface (line 21) | interface SourcePolicyInterface method enableSandbox (line 23) | public function enableSandbox(Source $source): bool; FILE: src/Source.php class Source (line 19) | final class Source method __construct (line 26) | public function __construct( method getCode (line 33) | public function getCode(): string method getName (line 38) | public function getName(): string method getPath (line 43) | public function getPath(): string FILE: src/Template.php class Template (line 29) | abstract class Template method __construct (line 45) | public function __construct( method getTemplateName (line 55) | abstract public function getTemplateName(): string; method getDebugInfo (line 62) | abstract public function getDebugInfo(): array; method getSourceContext (line 67) | abstract public function getSourceContext(): Source; method getParent (line 77) | public function getParent(array $context): self|TemplateWrapper|false method doGetParent (line 98) | protected function doGetParent(array $context): bool|string|self|Templ... method isTraitable (line 103) | public function isTraitable(): bool method displayParentBlock (line 118) | public function displayParentBlock($name, array $context, array $block... method displayBlock (line 136) | public function displayBlock($name, array $context, array $blocks = []... method renderParentBlock (line 155) | public function renderParentBlock($name, array $context, array $blocks... method renderBlock (line 189) | public function renderBlock($name, array $context, array $blocks = [],... method hasBlock (line 231) | public function hasBlock($name, array $context, array $blocks = []): bool method getBlockNames (line 259) | public function getBlockNames(array $context, array $blocks = []): array method load (line 273) | protected function load(string|TemplateWrapper|array $template, int $l... method loadTemplate (line 318) | protected function loadTemplate($template, $templateName = null, ?int ... method unwrap (line 338) | public function unwrap(): self method getBlocks (line 351) | public function getBlocks(): array method display (line 356) | public function display(array $context, array $blocks = []): void method render (line 363) | public function render(array $context): string method yield (line 396) | public function yield(array $context, array $blocks = []): iterable method yieldBlock (line 426) | public function yieldBlock($name, array $context, array $blocks = [], ... method yieldParentBlock (line 486) | public function yieldParentBlock($name, array $context, array $blocks ... method hasMacro (line 497) | protected function hasMacro(string $name, array $context): bool method getTemplateForMacro (line 510) | protected function getTemplateForMacro(string $name, array $context, i... method doDisplay (line 534) | abstract protected function doDisplay(array $context, array $blocks = ... FILE: src/TemplateWrapper.php class TemplateWrapper (line 19) | final class TemplateWrapper method __construct (line 27) | public function __construct( method stream (line 36) | public function stream(array $context = []): iterable method streamBlock (line 44) | public function streamBlock(string $name, array $context = []): iterable method render (line 49) | public function render(array $context = []): string method display (line 57) | public function display(array $context = []) method hasBlock (line 64) | public function hasBlock(string $name, array $context = []): bool method getBlockNames (line 72) | public function getBlockNames(array $context = []): array method renderBlock (line 77) | public function renderBlock(string $name, array $context = []): string method displayBlock (line 85) | public function displayBlock(string $name, array $context = []) method getSourceContext (line 93) | public function getSourceContext(): Source method getTemplateName (line 98) | public function getTemplateName(): string method unwrap (line 108) | public function unwrap() FILE: src/Test/IntegrationTestCase.php class IntegrationTestCase (line 31) | abstract class IntegrationTestCase extends TestCase method getFixturesDir (line 38) | protected function getFixturesDir() method getFixturesDirectory (line 43) | protected static function getFixturesDirectory(): string method getRuntimeLoaders (line 51) | protected function getRuntimeLoaders() method getExtensions (line 59) | protected function getExtensions() method getTwigFilters (line 67) | protected function getTwigFilters() method getTwigFunctions (line 75) | protected function getTwigFunctions() method getTwigTests (line 83) | protected function getTwigTests() method getUndefinedFilterCallbacks (line 91) | protected function getUndefinedFilterCallbacks(): array method getUndefinedFunctionCallbacks (line 99) | protected function getUndefinedFunctionCallbacks(): array method getUndefinedTestCallbacks (line 107) | protected function getUndefinedTestCallbacks(): array method getUndefinedTokenParserCallbacks (line 115) | protected function getUndefinedTokenParserCallbacks(): array method testIntegration (line 125) | public function testIntegration($file, $message, $condition, $template... method testLegacyIntegration (line 137) | public function testLegacyIntegration($file, $message, $condition, $te... method getTests (line 147) | public function getTests($name, $legacyTests = false) method getLegacyTests (line 204) | public function getLegacyTests() method doIntegrationTest (line 212) | protected function doIntegrationTest($file, $message, $condition, $tem... method parseTemplates (line 341) | protected static function parseTemplates($test) FILE: src/Test/NodeTestCase.php class NodeTestCase (line 22) | abstract class NodeTestCase extends TestCase method getTests (line 32) | public function getTests() method provideTests (line 40) | public static function provideTests(): iterable method testCompile (line 53) | #[DataProvider('getTests'), DataProvider('provideTests')] method assertNodeCompilation (line 62) | public function assertNodeCompilation($source, Node $node, ?Environmen... method getCompiler (line 77) | protected function getCompiler(?Environment $environment = null) method getEnvironment (line 87) | protected function getEnvironment() method createEnvironment (line 92) | protected static function createEnvironment(): Environment method getVariableGetter (line 102) | protected function getVariableGetter($name, $line = false) method createVariableGetter (line 109) | final protected static function createVariableGetter(string $name, boo... method getAttributeGetter (line 121) | protected function getAttributeGetter() method createAttributeGetter (line 128) | final protected static function createAttributeGetter(): string method checkDataProvider (line 134) | #[BeforeClass] FILE: src/Token.php class Token (line 18) | final class Token method __construct (line 42) | public function __construct( method __toString (line 55) | public function __toString(): string method test (line 71) | public function test($type, $values = null): bool method getLine (line 122) | public function getLine(): int method getType (line 130) | public function getType(): int method getValue (line 137) | public function getValue() method toEnglish (line 142) | public function toEnglish(): string method typeToString (line 147) | public static function typeToString(int $type, bool $short = false): s... method typeToEnglish (line 202) | public static function typeToEnglish(int $type): string FILE: src/TokenParser/AbstractTokenParser.php class AbstractTokenParser (line 25) | abstract class AbstractTokenParser implements TokenParserInterface method setParser (line 32) | public function setParser(Parser $parser): void method parseAssignmentExpression (line 40) | protected function parseAssignmentExpression(): Nodes FILE: src/TokenParser/ApplyTokenParser.php class ApplyTokenParser (line 31) | final class ApplyTokenParser extends AbstractTokenParser method parse (line 33) | public function parse(Token $token): Node method decideApplyEnd (line 57) | public function decideApplyEnd(Token $token): bool method getTag (line 62) | public function getTag(): string FILE: src/TokenParser/AutoEscapeTokenParser.php class AutoEscapeTokenParser (line 25) | final class AutoEscapeTokenParser extends AbstractTokenParser method parse (line 27) | public function parse(Token $token): Node method decideBlockEnd (line 49) | public function decideBlockEnd(Token $token): bool method getTag (line 54) | public function getTag(): string FILE: src/TokenParser/BlockTokenParser.php class BlockTokenParser (line 34) | final class BlockTokenParser extends AbstractTokenParser method parse (line 36) | public function parse(Token $token): Node method decideBlockEnd (line 68) | public function decideBlockEnd(Token $token): bool method getTag (line 73) | public function getTag(): string FILE: src/TokenParser/DeprecatedTokenParser.php class DeprecatedTokenParser (line 31) | final class DeprecatedTokenParser extends AbstractTokenParser method parse (line 33) | public function parse(Token $token): Node method getTag (line 61) | public function getTag(): string FILE: src/TokenParser/DoTokenParser.php class DoTokenParser (line 23) | final class DoTokenParser extends AbstractTokenParser method parse (line 25) | public function parse(Token $token): Node method getTag (line 34) | public function getTag(): string FILE: src/TokenParser/EmbedTokenParser.php class EmbedTokenParser (line 25) | final class EmbedTokenParser extends IncludeTokenParser method parse (line 27) | public function parse(Token $token): Node method decideBlockEnd (line 64) | public function decideBlockEnd(Token $token): bool method getTag (line 69) | public function getTag(): string FILE: src/TokenParser/ExtendsTokenParser.php class ExtendsTokenParser (line 27) | final class ExtendsTokenParser extends AbstractTokenParser method parse (line 29) | public function parse(Token $token): Node method getTag (line 46) | public function getTag(): string FILE: src/TokenParser/FlushTokenParser.php class FlushTokenParser (line 25) | final class FlushTokenParser extends AbstractTokenParser method parse (line 27) | public function parse(Token $token): Node method getTag (line 34) | public function getTag(): string FILE: src/TokenParser/ForTokenParser.php class ForTokenParser (line 32) | final class ForTokenParser extends AbstractTokenParser method parse (line 34) | public function parse(Token $token): Node method decideForFork (line 66) | public function decideForFork(Token $token): bool method decideForEnd (line 71) | public function decideForEnd(Token $token): bool method getTag (line 76) | public function getTag(): string FILE: src/TokenParser/FromTokenParser.php class FromTokenParser (line 28) | final class FromTokenParser extends AbstractTokenParser method parse (line 30) | public function parse(Token $token): Node method getTag (line 65) | public function getTag(): string FILE: src/TokenParser/GuardTokenParser.php class GuardTokenParser (line 23) | final class GuardTokenParser extends AbstractTokenParser method parse (line 25) | public function parse(Token $token): Node method decideGuardFork (line 65) | public function decideGuardFork(Token $token): bool method decideGuardEnd (line 70) | public function decideGuardEnd(Token $token): bool method getTag (line 75) | public function getTag(): string FILE: src/TokenParser/IfTokenParser.php class IfTokenParser (line 34) | final class IfTokenParser extends AbstractTokenParser method parse (line 36) | public function parse(Token $token): Node method decideIfFork (line 76) | public function decideIfFork(Token $token): bool method decideIfEnd (line 81) | public function decideIfEnd(Token $token): bool method getTag (line 86) | public function getTag(): string FILE: src/TokenParser/ImportTokenParser.php class ImportTokenParser (line 27) | final class ImportTokenParser extends AbstractTokenParser method parse (line 29) | public function parse(Token $token): Node method getTag (line 41) | public function getTag(): string FILE: src/TokenParser/IncludeTokenParser.php class IncludeTokenParser (line 29) | class IncludeTokenParser extends AbstractTokenParser method parse (line 31) | public function parse(Token $token): Node method parseArguments (line 43) | protected function parseArguments() method getTag (line 69) | public function getTag(): string FILE: src/TokenParser/MacroTokenParser.php class MacroTokenParser (line 35) | final class MacroTokenParser extends AbstractTokenParser method parse (line 37) | public function parse(Token $token): Node method decideBlockEnd (line 62) | public function decideBlockEnd(Token $token): bool method getTag (line 67) | public function getTag(): string method parseDefinition (line 72) | private function parseDefinition(): ArrayExpression method checkConstantExpression (line 107) | private function checkConstantExpression(Node $node): bool FILE: src/TokenParser/SandboxTokenParser.php class SandboxTokenParser (line 32) | final class SandboxTokenParser extends AbstractTokenParser method parse (line 34) | public function parse(Token $token): Node method decideBlockEnd (line 59) | public function decideBlockEnd(Token $token): bool method getTag (line 64) | public function getTag(): string FILE: src/TokenParser/SetTokenParser.php class SetTokenParser (line 32) | final class SetTokenParser extends AbstractTokenParser method parse (line 34) | public function parse(Token $token): Node method decideBlockEnd (line 65) | public function decideBlockEnd(Token $token): bool method getTag (line 70) | public function getTag(): string method parseMultitargetExpression (line 75) | private function parseMultitargetExpression(): Nodes FILE: src/TokenParser/TokenParserInterface.php type TokenParserInterface (line 24) | interface TokenParserInterface method setParser (line 29) | public function setParser(Parser $parser): void; method parse (line 38) | public function parse(Token $token); method getTag (line 45) | public function getTag(); FILE: src/TokenParser/TypesTokenParser.php class TypesTokenParser (line 29) | final class TypesTokenParser extends AbstractTokenParser method parse (line 31) | public function parse(Token $token): Node method parseSimpleMappingExpression (line 45) | private function parseSimpleMappingExpression(TokenStream $stream): array method getTag (line 85) | public function getTag(): string FILE: src/TokenParser/UseTokenParser.php class UseTokenParser (line 35) | final class UseTokenParser extends AbstractTokenParser method parse (line 37) | public function parse(Token $token): Node method getTag (line 71) | public function getTag(): string FILE: src/TokenParser/WithTokenParser.php class WithTokenParser (line 25) | final class WithTokenParser extends AbstractTokenParser method parse (line 27) | public function parse(Token $token): Node method decideWithEnd (line 47) | public function decideWithEnd(Token $token): bool method getTag (line 52) | public function getTag(): string FILE: src/TokenStream.php class TokenStream (line 22) | final class TokenStream method __construct (line 26) | public function __construct( method __toString (line 37) | public function __toString(): string method injectTokens (line 45) | public function injectTokens(array $tokens) method next (line 53) | public function next(): Token method nextIf (line 67) | public function nextIf($primary, $secondary = null) method expect (line 75) | public function expect($type, $value = null, ?string $message = null):... method look (line 97) | public function look(int $number = 1): Token method test (line 109) | public function test($primary, $secondary = null): bool method isEOF (line 117) | public function isEOF(): bool method getCurrent (line 122) | public function getCurrent(): Token method getSourceContext (line 127) | public function getSourceContext(): Source FILE: src/TwigCallableInterface.php type TwigCallableInterface (line 17) | interface TwigCallableInterface extends \Stringable method getName (line 19) | public function getName(): string; method getType (line 21) | public function getType(): string; method getDynamicName (line 23) | public function getDynamicName(): string; method getCallable (line 28) | public function getCallable(); method getNodeClass (line 30) | public function getNodeClass(): string; method needsCharset (line 32) | public function needsCharset(): bool; method needsEnvironment (line 34) | public function needsEnvironment(): bool; method needsContext (line 36) | public function needsContext(): bool; method withDynamicArguments (line 38) | public function withDynamicArguments(string $name, string $dynamicName... method getArguments (line 40) | public function getArguments(): array; method isVariadic (line 42) | public function isVariadic(): bool; method isDeprecated (line 44) | public function isDeprecated(): bool; method getDeprecatingPackage (line 46) | public function getDeprecatingPackage(): string; method getDeprecatedVersion (line 48) | public function getDeprecatedVersion(): string; method getAlternative (line 50) | public function getAlternative(): ?string; method getMinimalNumberOfRequiredArguments (line 52) | public function getMinimalNumberOfRequiredArguments(): int; FILE: src/TwigFilter.php class TwigFilter (line 24) | final class TwigFilter extends AbstractTwigCallable method __construct (line 29) | public function __construct(string $name, $callable = null, array $opt... method getType (line 42) | public function getType(): string method getSafe (line 47) | public function getSafe(Node $filterArgs): ?array method getPreservesSafety (line 60) | public function getPreservesSafety(): array method getPreEscape (line 65) | public function getPreEscape(): ?string method getMinimalNumberOfRequiredArguments (line 70) | public function getMinimalNumberOfRequiredArguments(): int FILE: src/TwigFunction.php class TwigFunction (line 24) | final class TwigFunction extends AbstractTwigCallable method __construct (line 29) | public function __construct(string $name, $callable = null, array $opt... method getType (line 41) | public function getType(): string method getParserCallable (line 46) | public function getParserCallable(): ?callable method getSafe (line 51) | public function getSafe(Node $functionArgs): ?array FILE: src/TwigTest.php class TwigTest (line 23) | final class TwigTest extends AbstractTwigCallable method __construct (line 28) | public function __construct(string $name, $callable = null, array $opt... method getType (line 38) | public function getType(): string method needsCharset (line 43) | public function needsCharset(): bool method needsEnvironment (line 48) | public function needsEnvironment(): bool method needsContext (line 53) | public function needsContext(): bool method hasOneMandatoryArgument (line 58) | public function hasOneMandatoryArgument(): bool method getMinimalNumberOfRequiredArguments (line 63) | public function getMinimalNumberOfRequiredArguments(): int FILE: src/Util/CallableArgumentsExtractor.php class CallableArgumentsExtractor (line 26) | final class CallableArgumentsExtractor method __construct (line 30) | public function __construct( method extractArguments (line 40) | public function extractArguments(Node $arguments): array method normalizeName (line 174) | private function normalizeName(string $name): string method toSnakeCase (line 179) | private function toSnakeCase(string $name): string method getCallableParameters (line 184) | private function getCallableParameters(): array FILE: src/Util/DeprecationCollector.php class DeprecationCollector (line 21) | final class DeprecationCollector method __construct (line 23) | public function __construct( method collectDir (line 36) | public function collectDir(string $dir, string $ext = '.twig'): array method collect (line 54) | public function collect(\Traversable $iterator): array FILE: src/Util/ReflectionCallable.php class ReflectionCallable (line 21) | final class ReflectionCallable method __construct (line 27) | public function __construct( method getReflector (line 78) | public function getReflector(): \ReflectionFunctionAbstract method getCallable (line 86) | public function getCallable() method getName (line 91) | public function getName(): string FILE: src/Util/TemplateDirIterator.php class TemplateDirIterator (line 17) | class TemplateDirIterator extends \IteratorIterator method current (line 22) | #[\ReturnTypeWillChange] method key (line 31) | #[\ReturnTypeWillChange] FILE: tests/Cache/ChainTest.php class ChainTest (line 28) | class ChainTest extends TestCase method setUp (line 35) | protected function setUp(): void method tearDown (line 47) | protected function tearDown(): void method testLoadInA (line 54) | public function testLoadInA() method testLoadInB (line 72) | public function testLoadInB() method testLoadInBoth (line 90) | public function testLoadInBoth() method testLoadMissing (line 119) | public function testLoadMissing() method testWrite (line 128) | public function testWrite() method testGetTimestampInA (line 155) | public function testGetTimestampInA() method testGetTimestampInB (line 170) | public function testGetTimestampInB() method testGetTimestampInBoth (line 185) | public function testGetTimestampInBoth() method testGetTimestampMissingFile (line 210) | public function testGetTimestampMissingFile() method testGenerateKey (line 218) | public function testGenerateKey($expected, $input) method provideInput (line 224) | public static function provideInput() method generateSource (line 232) | private function generateSource() FILE: tests/Cache/FilesystemTest.php class FilesystemTest (line 27) | class FilesystemTest extends TestCase method setUp (line 33) | protected function setUp(): void method tearDown (line 41) | protected function tearDown(): void method testLoad (line 48) | public function testLoad() method testLoadMissing (line 65) | public function testLoadMissing() method testWrite (line 76) | public function testWrite() method testWriteFailMkdir (line 91) | public function testWriteFailMkdir() method testWriteFailDirWritable (line 112) | public function testWriteFailDirWritable() method testWriteFailWriteFile (line 135) | public function testWriteFailWriteFile() method testGetTimestamp (line 152) | public function testGetTimestamp() method testGetTimestampMissingFile (line 166) | public function testGetTimestampMissingFile() method testGenerateKey (line 177) | public function testGenerateKey($expected, $input) method provideDirectories (line 183) | public static function provideDirectories() method generateSource (line 197) | private function generateSource() FILE: tests/Cache/ReadOnlyFilesystemTest.php class ReadOnlyFilesystemTest (line 27) | class ReadOnlyFilesystemTest extends TestCase method setUp (line 33) | protected function setUp(): void method tearDown (line 41) | protected function tearDown(): void method testLoad (line 48) | public function testLoad() method testLoadMissing (line 65) | public function testLoadMissing() method testWrite (line 76) | public function testWrite() method testGetTimestamp (line 90) | public function testGetTimestamp() method testGetTimestampMissingFile (line 104) | public function testGetTimestampMissingFile() method testGenerateKey (line 115) | public function testGenerateKey($expected, $input) method provideDirectories (line 121) | public static function provideDirectories() method generateSource (line 135) | private function generateSource() FILE: tests/CompilerTest.php class CompilerTest (line 28) | class CompilerTest extends TestCase method testReprNumericValueWithLocale (line 30) | public function testReprNumericValueWithLocale() FILE: tests/ContainerRuntimeLoaderTest.php class ContainerRuntimeLoaderTest (line 27) | class ContainerRuntimeLoaderTest extends TestCase method testLoad (line 29) | public function testLoad() method testLoadUnknownRuntimeReturnsNull (line 40) | public function testLoadUnknownRuntimeReturnsNull() FILE: tests/CustomExtensionTest.php class CustomExtensionTest (line 28) | class CustomExtensionTest extends TestCase method testGetInvalidOperators (line 35) | public function testGetInvalidOperators(ExtensionInterface $extension,... method provideInvalidExtensions (line 46) | public static function provideInvalidExtensions() class InvalidOperatorExtension (line 54) | class InvalidOperatorExtension implements ExtensionInterface method __construct (line 58) | public function __construct($operators) method getTokenParsers (line 63) | public function getTokenParsers(): array method getNodeVisitors (line 68) | public function getNodeVisitors(): array method getFilters (line 73) | public function getFilters(): array method getTests (line 78) | public function getTests(): array method getFunctions (line 83) | public function getFunctions(): array method getOperators (line 88) | public function getOperators(): array FILE: tests/DeprecatedCallableInfoTest.php class DeprecatedCallableInfoTest (line 26) | class DeprecatedCallableInfoTest extends TestCase method testTriggerDeprecation (line 31) | public function testTriggerDeprecation($expected, DeprecatedCallableIn... method provideTestsForTriggerDeprecation (line 54) | public static function provideTestsForTriggerDeprecation(): iterable method testTriggerDeprecationWithoutFileOrLine (line 62) | public function testTriggerDeprecationWithoutFileOrLine() FILE: tests/EnvironmentTest.php class EnvironmentTest (line 51) | class EnvironmentTest extends TestCase method testVersionConstants (line 55) | public function testVersionConstants() method testAutoescapeOption (line 70) | public function testAutoescapeOption() method escapingStrategyCallback (line 87) | public function escapingStrategyCallback($name) method testGlobals (line 92) | public function testGlobals() method testExtensionsAreNotInitializedWhenRenderingACompiledTemplate (line 188) | public function testExtensionsAreNotInitializedWhenRenderingACompiledT... method testAutoReloadCacheMiss (line 223) | public function testAutoReloadCacheMiss() method testAutoReloadCacheHit (line 250) | public function testAutoReloadCacheHit() method testAutoReloadOutdatedCacheHit (line 278) | public function testAutoReloadOutdatedCacheHit() method testHasGetExtensionByClassName (line 306) | public function testHasGetExtensionByClassName() method testAddExtension (line 314) | public function testAddExtension() method testAddMockExtension (line 336) | public function testAddMockExtension() method testOverrideExtension (line 348) | public function testOverrideExtension() method testAddRuntimeLoader (line 359) | public function testAddRuntimeLoader() method testFailLoadTemplate (line 385) | public function testFailLoadTemplate() method testUndefinedFunctionCallback (line 396) | public function testUndefinedFunctionCallback() method testUndefinedFilterCallback (line 412) | public function testUndefinedFilterCallback() method testUndefinedTestCallback (line 428) | public function testUndefinedTestCallback() method testUndefinedTokenParserCallback (line 444) | public function testUndefinedTokenParserCallback() method testLegacyEchoingNode (line 468) | public function testLegacyEchoingNode() method getMockLoader (line 489) | protected function getMockLoader($templateName, $templateContent) method testResettingGlobals (line 504) | public function testResettingGlobals() method testHotCache (line 531) | public function testHotCache() class EnvironmentTest_Extension_WithGlobals (line 579) | class EnvironmentTest_Extension_WithGlobals extends AbstractExtension method getGlobals (line 581) | public function getGlobals() class EnvironmentTest_Extension (line 589) | class EnvironmentTest_Extension extends AbstractExtension implements Glo... method getTokenParsers (line 591) | public function getTokenParsers(): array method getNodeVisitors (line 598) | public function getNodeVisitors(): array method getFilters (line 605) | public function getFilters(): array method getTests (line 612) | public function getTests(): array method getFunctions (line 619) | public function getFunctions(): array method getExpressionParsers (line 626) | public function getExpressionParsers(): array method getGlobals (line 634) | public function getGlobals(): array class EnvironmentTest_TokenParser (line 642) | class EnvironmentTest_TokenParser extends AbstractTokenParser method parse (line 644) | public function parse(Token $token): Node method getTag (line 651) | public function getTag(): string class EnvironmentTest_NodeVisitor (line 657) | class EnvironmentTest_NodeVisitor implements NodeVisitorInterface method enterNode (line 659) | public function enterNode(Node $node, Environment $env): Node method leaveNode (line 664) | public function leaveNode(Node $node, Environment $env): ?Node method getPriority (line 669) | public function getPriority(): int class EnvironmentTest_ExtensionWithoutRuntime (line 675) | class EnvironmentTest_ExtensionWithoutRuntime extends AbstractExtension method getFunctions (line 677) | public function getFunctions(): array class EnvironmentTest_Runtime (line 686) | class EnvironmentTest_Runtime method fromRuntime (line 688) | public function fromRuntime($name = 'bar') class EnvironmentTest_LegacyEchoingNode (line 694) | class EnvironmentTest_LegacyEchoingNode extends Node method compile (line 696) | public function compile($compiler) FILE: tests/ErrorTest.php class ErrorTest (line 39) | class ErrorTest extends TestCase method testErrorWithObjectFilename (line 41) | public function testErrorWithObjectFilename() method testTwigExceptionGuessWithMissingVarAndArrayLoader (line 49) | public function testTwigExceptionGuessWithMissingVarAndArrayLoader() method testTwigExceptionGuessWithExceptionAndArrayLoader (line 78) | public function testTwigExceptionGuessWithExceptionAndArrayLoader() method testTwigExceptionGuessWithMissingVarAndFilesystemLoader (line 106) | public function testTwigExceptionGuessWithMissingVarAndFilesystemLoader() method testTwigExceptionGuessWithExceptionAndFilesystemLoader (line 125) | public function testTwigExceptionGuessWithExceptionAndFilesystemLoader() method testTwigExceptionAddsFileAndLine (line 147) | public function testTwigExceptionAddsFileAndLine($templates, $name, $l... method testTwigArrayFilterThrowsRuntimeExceptions (line 175) | public function testTwigArrayFilterThrowsRuntimeExceptions() method testTwigArrayMapThrowsRuntimeExceptions (line 202) | public function testTwigArrayMapThrowsRuntimeExceptions() method testTwigArrayReduceThrowsRuntimeExceptions (line 229) | public function testTwigArrayReduceThrowsRuntimeExceptions() method testTwigExceptionUpdateFileAndLineTogether (line 254) | public function testTwigExceptionUpdateFileAndLineTogether() method testErrorWithoutLineAndContext (line 275) | public function testErrorWithoutLineAndContext(LoaderInterface $loader... method getErrorWithoutLineAndContextData (line 351) | public static function getErrorWithoutLineAndContextData(): iterable method getErroredTemplates (line 381) | public static function getErroredTemplates() method testErrorFromArrayLoader (line 455) | public function testErrorFromArrayLoader() method testErrorFromFilesystemLoader (line 478) | public function testErrorFromFilesystemLoader() class ErrorTest_Foo (line 494) | class ErrorTest_Foo method bar (line 496) | public function bar() FILE: tests/ExpressionParserTest.php class ExpressionParserTest (line 52) | class ExpressionParserTest extends TestCase method testCanOnlyAssignToNames (line 59) | public function testCanOnlyAssignToNames($template) method getFailingTestsForAssignment (line 68) | public static function getFailingTestsForAssignment() method testSequenceExpression (line 89) | public function testSequenceExpression($template, $expected) method testSequenceSyntaxError (line 102) | public function testSequenceSyntaxError($template) method getFailingTestsForSequence (line 111) | public static function getFailingTestsForSequence() method getTestsForSequence (line 120) | public static function getTestsForSequence() method testStringExpressionDoesNotConcatenateTwoConsecutiveStrings (line 228) | public function testStringExpressionDoesNotConcatenateTwoConsecutiveSt... method testSequenceCompilationError (line 238) | public function testSequenceCompilationError() method testStringExpression (line 250) | public function testStringExpression($template, $expected) method getTestsForString (line 260) | public static function getTestsForString() method testNullSafeOperator (line 307) | public function testNullSafeOperator($template, $data, $expected) method getTestsForNullSafeOperator (line 314) | public static function getTestsForNullSafeOperator() method testInvalidNullSafeOperatorShortCircuiting (line 379) | public function testInvalidNullSafeOperatorShortCircuiting(string $tem... method getTestForInvalidNullSafeOperatorShortCircuiting (line 389) | public static function getTestForInvalidNullSafeOperatorShortCircuiting() method testMacroDefinitionDoesNotSupportNonNameVariableName (line 403) | public function testMacroDefinitionDoesNotSupportNonNameVariableName() method testMacroDefinitionDoesNotSupportNonConstantDefaultValues (line 417) | public function testMacroDefinitionDoesNotSupportNonConstantDefaultVal... method getMacroDefinitionDoesNotSupportNonConstantDefaultValues (line 428) | public static function getMacroDefinitionDoesNotSupportNonConstantDefa... method testMacroDefinitionSupportsConstantDefaultValues (line 439) | public function testMacroDefinitionSupportsConstantDefaultValues($temp... method getMacroDefinitionSupportsConstantDefaultValues (line 451) | public static function getMacroDefinitionSupportsConstantDefaultValues() method testUnknownFunction (line 464) | public function testUnknownFunction() method testUnknownFunctionWithoutSuggestions (line 475) | public function testUnknownFunctionWithoutSuggestions() method testUnknownFilter (line 486) | public function testUnknownFilter() method testUnknownFilterWithoutSuggestions (line 497) | public function testUnknownFilterWithoutSuggestions() method testUnknownTest (line 508) | public function testUnknownTest() method testUnknownTestWithoutSuggestions (line 520) | public function testUnknownTestWithoutSuggestions() method testCompiledCodeForDynamicTest (line 531) | public function testCompiledCodeForDynamicTest() method testCompiledCodeForDynamicFunction (line 546) | public function testCompiledCodeForDynamicFunction() method testCompiledCodeForDynamicFilter (line 561) | public function testCompiledCodeForDynamicFilter() method testNotReadyFunctionWithNoConstructor (line 576) | public function testNotReadyFunctionWithNoConstructor() method testNotReadyFilterWithNoConstructor (line 586) | public function testNotReadyFilterWithNoConstructor() method testNotReadyTestWithNoConstructor (line 596) | public function testNotReadyTestWithNoConstructor() method testNotReadyFunction (line 609) | public function testNotReadyFunction() method testNotReadyFilter (line 624) | public function testNotReadyFilter() method testNotReadyTest (line 639) | public function testNotReadyTest() method testReadyFunction (line 651) | public function testReadyFunction() method testReadyFilter (line 661) | public function testReadyFilter() method testReadyTest (line 671) | public function testReadyTest() method testTwoWordTestPrecedence (line 681) | public function testTwoWordTestPrecedence() method testUnaryPrecedenceChange (line 692) | public function testUnaryPrecedenceChange() method testBindingPower (line 719) | public function testBindingPower(string $expression, string $expectedE... method getBindingPowerTests (line 730) | public static function getBindingPowerTests(): iterable method testLiteralExpressionParserGetOperatorTokensReturnsEmptyArray (line 803) | public function testLiteralExpressionParserGetOperatorTokensReturnsEmp... method testExpressionParserGetOperatorTokensDefaultBehavior (line 812) | public function testExpressionParserGetOperatorTokensDefaultBehavior() method testLiteralIsNotRegisteredAsOperator (line 825) | public function testLiteralIsNotRegisteredAsOperator() class NotReadyFunctionExpression (line 834) | class NotReadyFunctionExpression extends FunctionExpression method __construct (line 836) | public function __construct(string $function, Node $arguments, int $li... class NotReadyFilterExpression (line 842) | class NotReadyFilterExpression extends FilterExpression method __construct (line 844) | public function __construct(Node $node, ConstantExpression $filter, No... class NotReadyTestExpression (line 850) | class NotReadyTestExpression extends TestExpression method __construct (line 852) | public function __construct(Node $node, string $test, ?Node $arguments... class NotReadyFunctionExpressionWithNoConstructor (line 858) | class NotReadyFunctionExpressionWithNoConstructor extends FunctionExpres... class NotReadyFilterExpressionWithNoConstructor (line 862) | class NotReadyFilterExpressionWithNoConstructor extends FilterExpression class NotReadyTestExpressionWithNoConstructor (line 866) | class NotReadyTestExpressionWithNoConstructor extends TestExpression class ReadyFunctionExpression (line 870) | class ReadyFunctionExpression extends FunctionExpression method __construct (line 872) | #[FirstClassTwigCallableReady] class ReadyFilterExpression (line 879) | class ReadyFilterExpression extends FilterExpression method __construct (line 881) | #[FirstClassTwigCallableReady] class ReadyTestExpression (line 888) | class ReadyTestExpression extends TestExpression method __construct (line 890) | #[FirstClassTwigCallableReady] FILE: tests/Extension/AttributeExtensionTest.php class AttributeExtensionTest (line 26) | class AttributeExtensionTest extends TestCase method testFilter (line 31) | public function testFilter(string $name, string $method, array $options) method provideFilters (line 45) | public static function provideFilters() method testFunction (line 59) | public function testFunction(string $name, string $method, array $opti... method provideFunctions (line 73) | public static function provideFunctions() method testTest (line 87) | public function testTest(string $name, string $method, array $options) method provideTests (line 101) | public static function provideTests() method testFilterRequireOneArgument (line 111) | public function testFilterRequireOneArgument() method testTestRequireOneArgument (line 121) | public function testTestRequireOneArgument() method testLastModifiedWithObject (line 131) | public function testLastModifiedWithObject() method testLastModifiedWithClass (line 138) | public function testLastModifiedWithClass() method testMultipleRegistrations (line 153) | public function testMultipleRegistrations() FILE: tests/Extension/CoreTest.php class CoreTest (line 33) | class CoreTest extends TestCase method testCycleFunction (line 40) | public function testCycleFunction($values, $position, $expected) method provideCycleCases (line 45) | public static function provideCycleCases() method testCycleFunctionThrowRuntimeError (line 63) | public function testCycleFunctionThrowRuntimeError($values, mixed $pos... method provideCycleInvalidCases (line 69) | public static function provideCycleInvalidCases() method testRandomFunction (line 81) | public function testRandomFunction(array $expectedInArray, $value1, $v... method getRandomFunctionTestData (line 88) | public static function getRandomFunctionTestData() method testRandomFunctionWithoutParameter (line 137) | public function testRandomFunctionWithoutParameter() method testRandomFunctionReturnsAsIs (line 147) | public function testRandomFunctionReturnsAsIs() method testRandomFunctionOfEmptyArrayThrowsException (line 155) | public function testRandomFunctionOfEmptyArrayThrowsException() method testRandomFunctionOnNonUTF8String (line 161) | public function testRandomFunctionOnNonUTF8String() method testReverseFilterOnNonUTF8String (line 170) | public function testReverseFilterOnNonUTF8String() method testTwigFirst (line 181) | public function testTwigFirst($expected, $input) method provideTwigFirstCases (line 186) | public static function provideTwigFirstCases() method testTwigLast (line 202) | public function testTwigLast($expected, $input) method provideTwigLastCases (line 207) | public static function provideTwigLastCases() method testArrayKeysFilter (line 223) | public function testArrayKeysFilter(array $expected, $input) method provideArrayKeyCases (line 228) | public static function provideArrayKeyCases() method testInFilter (line 246) | public function testInFilter($expected, $value, $compare) method provideInFilterCases (line 251) | public static function provideInFilterCases() method testSliceFilter (line 274) | public function testSliceFilter($expected, $input, $start, $length = n... method provideSliceFilterCases (line 279) | public static function provideSliceFilterCases() method testCompare (line 303) | public function testCompare($expected, $a, $b) method testCompareNAN (line 309) | public function testCompareNAN() method provideCompareCases (line 317) | public static function provideCompareCases() method testSandboxedInclude (line 375) | public function testSandboxedInclude() method testSandboxedIncludeWithPreloadedTemplate (line 390) | public function testSandboxedIncludeWithPreloadedTemplate() method testLastModified (line 409) | public function testLastModified() method testCycleWithArrayAccessAndTraversableButNotCountable (line 417) | public function testCycleWithArrayAccessAndTraversableButNotCountable() class CoreTestIteratorAggregate (line 453) | final class CoreTestIteratorAggregate implements \IteratorAggregate method __construct (line 457) | public function __construct(array $array, array $keys, $allowAccess = ... method getIterator (line 462) | public function getIterator(): \Traversable class CoreTestIteratorAggregateAggregate (line 468) | final class CoreTestIteratorAggregateAggregate implements \IteratorAggre... method __construct (line 472) | public function __construct(array $array, array $keys, $allowValueAcce... method getIterator (line 477) | public function getIterator(): \Traversable class CoreTestIterator (line 483) | final class CoreTestIterator implements \Iterator method __construct (line 491) | public function __construct(array $values, array $keys, $allowValueAcc... method rewind (line 500) | public function rewind(): void method current (line 505) | #[\ReturnTypeWillChange] method key (line 515) | #[\ReturnTypeWillChange] method next (line 521) | public function next(): void method valid (line 529) | public function valid(): bool FILE: tests/Extension/EscaperTest.php class EscaperTest (line 29) | class EscaperTest extends TestCase method testCustomEscaper (line 36) | public function testCustomEscaper($expected, $string, $strategy) method provideCustomEscaperCases (line 44) | public static function provideCustomEscaperCases() method testCustomEscaperWithoutCallingSetEscaperRuntime (line 58) | public function testCustomEscaperWithoutCallingSetEscaperRuntime($expe... method testCustomEscapersOnMultipleEnvs (line 69) | public function testCustomEscapersOnMultipleEnvs() method testLastModified (line 83) | public function testLastModified() function legacy_escaper (line 89) | function legacy_escaper(Environment $twig, $string, $charset) function legacy_escaper_again (line 94) | function legacy_escaper_again(Environment $twig, $string, $charset) FILE: tests/Extension/Fixtures/ExtensionWithAttributes.php class ExtensionWithAttributes (line 20) | class ExtensionWithAttributes method fooFilter (line 22) | #[AsTwigFilter(name: 'foo', isSafe: ['html'])] method withContextFilter (line 27) | #[AsTwigFilter('with_context_filter', needsContext: true)] method withEnvFilter (line 32) | #[AsTwigFilter('with_env_filter')] method withEnvAndContextFilter (line 37) | #[AsTwigFilter('with_env_and_context_filter', needsContext: true)] method variadicFilter (line 42) | #[AsTwigFilter('variadic_filter')] method deprecatedFilter (line 47) | #[AsTwigFilter('deprecated_filter', deprecationInfo: new DeprecatedCal... method patternFilter (line 52) | #[AsTwigFilter('pattern_*_filter')] method fooFunction (line 57) | #[AsTwigFunction(name: 'foo', isSafe: ['html'])] method withContextFunction (line 62) | #[AsTwigFunction('with_context_function', needsContext: true)] method withEnvFunction (line 67) | #[AsTwigFunction('with_env_function')] method withEnvAndContextFunction (line 72) | #[AsTwigFunction('with_env_and_context_function', needsContext: true)] method noArgFunction (line 77) | #[AsTwigFunction('no_arg_function')] method variadicFunction (line 82) | #[AsTwigFunction('variadic_function')] method deprecatedFunction (line 87) | #[AsTwigFunction('deprecated_function', deprecationInfo: new Deprecate... method fooTest (line 92) | #[AsTwigTest(name: 'foo')] method variadicTest (line 97) | #[AsTwigTest('variadic_test')] method withContextTest (line 102) | #[AsTwigTest('with_context_test', needsContext: true)] method withEnvTest (line 107) | #[AsTwigTest('with_env_test')] method withEnvAndContextTest (line 112) | #[AsTwigTest('with_env_and_context_test', needsContext: true)] method deprecatedTest (line 117) | #[AsTwigTest('deprecated_test', deprecationInfo: new DeprecatedCallabl... FILE: tests/Extension/Fixtures/FilterWithoutValue.php class FilterWithoutValue (line 16) | class FilterWithoutValue method myFilter (line 18) | #[AsTwigFilter('my_filter')] FILE: tests/Extension/Fixtures/TestWithoutValue.php class TestWithoutValue (line 16) | class TestWithoutValue method myTest (line 18) | #[AsTwigTest('my_test')] FILE: tests/Extension/LegacyDebugFunctionsTest.php class LegacyDebugFunctionsTest (line 22) | class LegacyDebugFunctionsTest extends TestCase method testDump (line 24) | public function testDump() FILE: tests/Extension/LegacyStringLoaderFunctionsTest.php class LegacyStringLoaderFunctionsTest (line 22) | class LegacyStringLoaderFunctionsTest extends TestCase method testTemplateFromString (line 24) | public function testTemplateFromString() FILE: tests/Extension/SandboxTest.php class SandboxTest (line 40) | class SandboxTest extends TestCase method setUp (line 47) | protected function setUp(): void method testSandboxForCoreTags (line 91) | public function testSandboxForCoreTags(string $tag, string $template) method getSandboxedForCoreTagsTests (line 101) | public static function getSandboxedForCoreTagsTests() method testSandboxForExtendsAndUseTags (line 129) | public function testSandboxForExtendsAndUseTags(string $tag, string $t... method getSandboxedForExtendsAndUseTagsTests (line 137) | public static function getSandboxedForExtendsAndUseTagsTests() method testSandboxWithInheritance (line 143) | public function testSandboxWithInheritance() method testSandboxGloballySet (line 153) | public function testSandboxGloballySet() method testSandboxUnallowedPropertyAccessor (line 159) | public function testSandboxUnallowedPropertyAccessor() method testSandboxUnallowedArrayIndexAccessor (line 171) | public function testSandboxUnallowedArrayIndexAccessor() method testIfSandBoxIsDisabledAfterSyntaxErrorLegacy (line 190) | public function testIfSandBoxIsDisabledAfterSyntaxErrorLegacy() method testIfSandBoxIsDisabledAfterSyntaxError (line 202) | public function testIfSandBoxIsDisabledAfterSyntaxError() method testSandboxGloballyFalseUnallowedFilterWithIncludeTemplateFromStringSandboxed (line 214) | public function testSandboxGloballyFalseUnallowedFilterWithIncludeTemp... method testSandboxGloballyTrueUnallowedFilterWithIncludeTemplateFromStringSandboxed (line 226) | public function testSandboxGloballyTrueUnallowedFilterWithIncludeTempl... method testSandboxGloballyFalseUnallowedFilterWithIncludeTemplateFromStringNotSandboxed (line 238) | public function testSandboxGloballyFalseUnallowedFilterWithIncludeTemp... method testSandboxGloballyTrueUnallowedFilterWithIncludeTemplateFromStringNotSandboxed (line 245) | public function testSandboxGloballyTrueUnallowedFilterWithIncludeTempl... method testSandboxUnallowedFilter (line 257) | public function testSandboxUnallowedFilter() method testSandboxUnallowedTag (line 268) | public function testSandboxUnallowedTag() method testSandboxUnallowedProperty (line 279) | public function testSandboxUnallowedProperty() method testSandboxUnallowedToString (line 294) | public function testSandboxUnallowedToString($template) method getSandboxUnallowedToStringTests (line 306) | public static function getSandboxUnallowedToStringTests() method testSandboxAllowedToString (line 339) | public function testSandboxAllowedToString($template, $output) method getSandboxAllowedToStringTests (line 345) | public static function getSandboxAllowedToStringTests() method testSandboxAllowMethodToString (line 362) | public function testSandboxAllowMethodToString() method testSandboxAllowMethodToStringDisabled (line 370) | public function testSandboxAllowMethodToStringDisabled() method testSandboxUnallowedFunction (line 378) | public function testSandboxUnallowedFunction() method testSandboxUnallowedRangeOperator (line 389) | public function testSandboxUnallowedRangeOperator() method testSandboxAllowMethodFoo (line 400) | public function testSandboxAllowMethodFoo() method testSandboxAllowFilter (line 408) | public function testSandboxAllowFilter() method testSandboxAllowTag (line 414) | public function testSandboxAllowTag() method testSandboxAllowProperty (line 420) | public function testSandboxAllowProperty() method testSandboxAllowFunction (line 426) | public function testSandboxAllowFunction() method testSandboxAllowRangeOperator (line 432) | public function testSandboxAllowRangeOperator() method testSandboxAllowMethodsCaseInsensitive (line 438) | public function testSandboxAllowMethodsCaseInsensitive() method testSandboxLocallySetForAnInclude (line 450) | public function testSandboxLocallySetForAnInclude() method testMacrosInASandbox (line 474) | public function testMacrosInASandbox() method testSandboxDisabledAfterIncludeFunctionError (line 488) | public function testSandboxDisabledAfterIncludeFunctionError() method testSandboxWithNoClosureFilter (line 504) | public function testSandboxWithNoClosureFilter() method testSandboxWithClosureFilter (line 517) | public function testSandboxWithClosureFilter() method testMultipleClassMatchesViaInheritanceInAllowedMethods (line 527) | public function testMultipleClassMatchesViaInheritanceInAllowedMethods() method getEnvironment (line 565) | protected function getEnvironment($sandboxed, $options, $templates, $t... method testSandboxSourcePolicyEnableReturningFalse (line 575) | public function testSandboxSourcePolicyEnableReturningFalse() method testSandboxSourcePolicyEnableReturningTrue (line 586) | public function testSandboxSourcePolicyEnableReturningTrue() method testSandboxSourcePolicyFalseDoesntOverrideOtherEnables (line 598) | public function testSandboxSourcePolicyFalseDoesntOverrideOtherEnables() class ParentClass (line 611) | class ParentClass method ParentMethod (line 613) | public function ParentMethod() class ChildClass (line 617) | class ChildClass extends ParentClass method ChildMethod (line 619) | public function ChildMethod() class FooObject (line 624) | class FooObject method reset (line 630) | public static function reset() method __toString (line 635) | public function __toString() method foo (line 642) | public function foo() method getFooBar (line 649) | public function getFooBar() method getAnotherFooObject (line 656) | public function getAnotherFooObject() class ArrayLikeObject (line 662) | class ArrayLikeObject extends \ArrayObject method offsetExists (line 664) | public function offsetExists($offset): bool method offsetGet (line 669) | public function offsetGet($offset): mixed method offsetSet (line 674) | public function offsetSet($offset, $value): void method offsetUnset (line 678) | public function offsetUnset($offset): void class MagicObject (line 683) | class MagicObject method __get (line 685) | public function __get($name): mixed method __isset (line 690) | public function __isset($name): bool FILE: tests/Extension/StringLoaderExtensionTest.php class StringLoaderExtensionTest (line 20) | class StringLoaderExtensionTest extends TestCase method testIncludeWithTemplateStringAndNoSandbox (line 22) | public function testIncludeWithTemplateStringAndNoSandbox() FILE: tests/FactoryRuntimeLoaderTest.php class FactoryRuntimeLoaderTest (line 26) | class FactoryRuntimeLoaderTest extends TestCase method testLoad (line 28) | public function testLoad() method testLoadReturnsNullForUnmappedRuntime (line 35) | public function testLoadReturnsNullForUnmappedRuntime() function getRuntime (line 43) | function getRuntime() FILE: tests/FileExtensionEscapingStrategyTest.php class FileExtensionEscapingStrategyTest (line 26) | class FileExtensionEscapingStrategyTest extends TestCase method testGuess (line 31) | public function testGuess($strategy, $filename) method getGuessData (line 36) | public static function getGuessData() FILE: tests/FilesystemHelper.php class FilesystemHelper (line 23) | class FilesystemHelper method removeDir (line 25) | public static function removeDir($dir) FILE: tests/IntegrationTest.php function html (line 43) | function html() class IntegrationTest (line 48) | class IntegrationTest extends IntegrationTestCase method getExtensions (line 50) | public function getExtensions() method getUndefinedFunctionCallbacks (line 62) | protected function getUndefinedFunctionCallbacks(): array method getUndefinedTestCallbacks (line 75) | protected function getUndefinedTestCallbacks(): array method getUndefinedFilterCallbacks (line 96) | protected function getUndefinedFilterCallbacks(): array method getFixturesDirectory (line 109) | protected static function getFixturesDirectory(): string function test_foo (line 115) | function test_foo($value = 'foo') class TwigTestFoo (line 120) | class TwigTestFoo implements \Iterator method bar (line 129) | public function bar($param1 = null, $param2 = null) method getFoo (line 134) | public function getFoo() method getEmpty (line 139) | public function getEmpty() method getNull (line 144) | public function getNull() method getSelf (line 149) | public function getSelf() method is (line 154) | public function is() method in (line 159) | public function in() method not (line 164) | public function not() method strToLower (line 169) | public function strToLower($value) method rewind (line 174) | public function rewind(): void method current (line 179) | #[\ReturnTypeWillChange] method key (line 185) | #[\ReturnTypeWillChange] method next (line 191) | public function next(): void method valid (line 196) | public function valid(): bool class TwigTestTokenParser_§ (line 202) | class TwigTestTokenParser_§ extends AbstractTokenParser method parse (line 204) | public function parse(Token $token): Node method getTag (line 211) | public function getTag(): string class TwigTestExtension (line 217) | class TwigTestExtension extends AbstractExtension method getTokenParsers (line 219) | public function getTokenParsers(): array method getFilters (line 226) | public function getFilters(): array method getFunctions (line 247) | public function getFunctions(): array method getTests (line 262) | public function getTests(): array method notFilter (line 270) | public function notFilter($value) method §Filter (line 275) | public function §Filter($value) method §Function (line 280) | public function §Function($value) method escape_and_nl2br (line 288) | public function escape_and_nl2br($env, $value, $sep = '
') method nl2br (line 296) | public function nl2br($value, $sep = '
') method dynamic_path (line 303) | public function dynamic_path($element, $item) method dynamic_foo (line 308) | public function dynamic_foo($foo, $bar, $item) method dynamic_test (line 313) | public function dynamic_test($element, $item) method escape_something (line 318) | public function escape_something($value) method preserves_safety (line 323) | public function preserves_safety($value) method staticCall (line 328) | public static function staticCall($value) method br (line 333) | public function br() method is_multi_word (line 338) | public function is_multi_word($value) method __call (line 343) | public function __call($method, $arguments) method __callStatic (line 352) | public static function __callStatic($method, $arguments) class MagicCallStub (line 366) | class MagicCallStub method __call (line 368) | public function __call($name, $args) class ToStringStub (line 374) | class ToStringStub method __construct (line 381) | public function __construct($string) method __toString (line 386) | public function __toString() class CountableStub (line 397) | class CountableStub implements \Countable method __construct (line 401) | public function __construct($count) method count (line 406) | public function count(): int method __toString (line 411) | public function __toString() class IteratorAggregateStub (line 420) | class IteratorAggregateStub implements \IteratorAggregate method __construct (line 424) | public function __construct(array $data) method getIterator (line 429) | public function getIterator(): \Traversable class SimpleIteratorForTesting (line 435) | class SimpleIteratorForTesting implements \Iterator method current (line 440) | #[\ReturnTypeWillChange] method next (line 446) | public function next(): void method key (line 451) | #[\ReturnTypeWillChange] method valid (line 457) | public function valid(): bool method rewind (line 462) | public function rewind(): void method __toString (line 467) | public function __toString() FILE: tests/LexerTest.php class LexerTest (line 32) | class LexerTest extends TestCase method testNameLabelForTag (line 36) | public function testNameLabelForTag() method testNameLabelForFunction (line 47) | public function testNameLabelForFunction() method testBracketsNesting (line 58) | public function testBracketsNesting() method countToken (line 66) | protected function countToken($template, $type, $value = null) method testLineDirective (line 84) | public function testLineDirective() method testLineDirectiveInline (line 106) | public function testLineDirectiveInline() method testLongComments (line 124) | public function testLongComments() method testLongVerbatim (line 136) | public function testLongVerbatim() method testLongVar (line 148) | public function testLongVar() method testLongBlock (line 160) | public function testLongBlock() method testBigNumbers (line 172) | public function testBigNumbers() method testStringWithEscapedDelimiter (line 186) | public function testStringWithEscapedDelimiter(string $template, strin... method getStringWithEscapedDelimiter (line 195) | public static function getStringWithEscapedDelimiter() method testStringWithEscapedDelimiterProducingDeprecation (line 262) | public function testStringWithEscapedDelimiterProducingDeprecation(str... method getStringWithEscapedDelimiterProducingDeprecation (line 276) | public static function getStringWithEscapedDelimiterProducingDeprecati... method testStringWithInterpolation (line 303) | public function testStringWithInterpolation() method testStringWithEscapedInterpolation (line 324) | public function testStringWithEscapedInterpolation() method testStringWithHash (line 339) | public function testStringWithHash() method testStringWithUnterminatedInterpolation (line 354) | public function testStringWithUnterminatedInterpolation() method testStringWithNestedInterpolations (line 365) | public function testStringWithNestedInterpolations() method testStringWithNestedInterpolationsInBlock (line 386) | public function testStringWithNestedInterpolationsInBlock() method testOperatorEndingWithALetterAtTheEndOfALine (line 408) | public function testOperatorEndingWithALetterAtTheEndOfALine() method testFilterAndAttributeNamedAfterOperator (line 423) | public function testFilterAndAttributeNamedAfterOperator() method testLiteralIsNotAnOperator (line 459) | public function testLiteralIsNotAnOperator() method testUnterminatedVariable (line 473) | public function testUnterminatedVariable() method testUnterminatedBlock (line 491) | public function testUnterminatedBlock() method testOverridingSyntax (line 510) | public function testOverridingSyntax() method testErrorsAtTheEndOfTheStream (line 539) | public function testErrorsAtTheEndOfTheStream(string $template) method getTemplateForErrorsAtTheEndOfTheStream (line 553) | public static function getTemplateForErrorsAtTheEndOfTheStream() method testStrings (line 562) | public function testStrings(string $expected) method getTemplateForStrings (line 581) | public static function getTemplateForStrings() method testInlineCommentWithHashInString (line 587) | public function testInlineCommentWithHashInString() method testInlineCommentForVariable (line 600) | public function testInlineCommentForVariable(string $template) method getTemplateForInlineCommentsForVariable (line 610) | public static function getTemplateForInlineCommentsForVariable() method testInlineCommentForBlock (line 633) | public function testInlineCommentForBlock(string $template) method getTemplateForInlineCommentsForBlock (line 648) | public static function getTemplateForInlineCommentsForBlock() method testInlineCommentForComment (line 671) | public function testInlineCommentForComment(string $template) method getTemplateForInlineCommentsForComment (line 678) | public static function getTemplateForInlineCommentsForComment() method testUnclosedBracketInExpression (line 688) | public function testUnclosedBracketInExpression(string $template, stri... method getTemplateForUnclosedBracketInExpression (line 698) | public static function getTemplateForUnclosedBracketInExpression() method testUnexpectedBracketInExpression (line 709) | public function testUnexpectedBracketInExpression(string $template, st... method getTemplateForUnexpectedBracketInExpression (line 719) | public static function getTemplateForUnexpectedBracketInExpression() FILE: tests/Loader/ArrayTest.php class ArrayTest (line 27) | class ArrayTest extends TestCase method testGetSourceContextWhenTemplateDoesNotExist (line 29) | public function testGetSourceContextWhenTemplateDoesNotExist() method testGetCacheKey (line 37) | public function testGetCacheKey() method testGetCacheKeyWhenTemplateHasDuplicateContent (line 44) | public function testGetCacheKeyWhenTemplateHasDuplicateContent() method testGetCacheKeyIsProtectedFromEdgeCollisions (line 55) | public function testGetCacheKeyIsProtectedFromEdgeCollisions() method testGetCacheKeyWhenTemplateDoesNotExist (line 66) | public function testGetCacheKeyWhenTemplateDoesNotExist() method testSetTemplate (line 74) | public function testSetTemplate() method testIsFresh (line 82) | public function testIsFresh() method testIsFreshWhenTemplateDoesNotExist (line 88) | public function testIsFreshWhenTemplateDoesNotExist() FILE: tests/Loader/ChainTest.php class ChainTest (line 30) | class ChainTest extends TestCase method testGetSourceContext (line 32) | public function testGetSourceContext() method testGetSourceContextWhenTemplateDoesNotExist (line 53) | public function testGetSourceContextWhenTemplateDoesNotExist() method testGetCacheKey (line 61) | public function testGetCacheKey() method testGetCacheKeyWhenTemplateDoesNotExist (line 72) | public function testGetCacheKeyWhenTemplateDoesNotExist() method testAddLoader (line 80) | public function testAddLoader() method testExists (line 108) | public function testExists() FILE: tests/Loader/FilesystemTest.php class FilesystemTest (line 28) | class FilesystemTest extends TestCase method testGetSourceContext (line 30) | public function testGetSourceContext() method testSecurity (line 41) | public function testSecurity($template) method getSecurityTests (line 54) | public static function getSecurityTests() method testPaths (line 86) | public function testPaths($basePath, $cacheKey, $rootPath) method getBasePaths (line 117) | public static function getBasePaths() method testEmptyConstructor (line 148) | public function testEmptyConstructor() method testGetNamespaces (line 154) | public function testGetNamespaces() method testFindTemplateExceptionNamespace (line 163) | public function testFindTemplateExceptionNamespace() method testFindTemplateWithCache (line 178) | public function testFindTemplateWithCache() method testLoadTemplateAndRenderBlockWithCache (line 193) | public function testLoadTemplateAndRenderBlockWithCache() method getArrayInheritanceTests (line 209) | public static function getArrayInheritanceTests() method testArrayInheritance (line 221) | public function testArrayInheritance(string $templateName) method testLoadTemplateFromPhar (line 232) | public function testLoadTemplateFromPhar() method testTemplateExistsAlwaysReturnsBool (line 242) | public function testTemplateExistsAlwaysReturnsBool() FILE: tests/Node/AutoEscapeTest.php class AutoEscapeTest (line 28) | class AutoEscapeTest extends NodeTestCase method testConstructor (line 30) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/BlockReferenceTest.php class BlockReferenceTest (line 26) | class BlockReferenceTest extends NodeTestCase method testConstructor (line 28) | public function testConstructor() method provideTests (line 35) | public static function provideTests(): iterable FILE: tests/Node/BlockTest.php class BlockTest (line 29) | class BlockTest extends NodeTestCase method testConstructor (line 31) | public function testConstructor() method provideTests (line 40) | public static function provideTests(): iterable FILE: tests/Node/DeprecatedTest.php class DeprecatedTest (line 36) | class DeprecatedTest extends NodeTestCase method testConstructor (line 38) | public function testConstructor() method provideTests (line 46) | public static function provideTests(): iterable function foo (line 102) | function foo() FILE: tests/Node/DoTest.php class DoTest (line 27) | class DoTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/EmbedTest.php class EmbedTest (line 19) | class EmbedTest extends NodeTestCase method testConstructor (line 21) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/ArrayTest.php class ArrayTest (line 27) | class ArrayTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/AddTest.php class AddTest (line 27) | class AddTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/AndTest.php class AndTest (line 27) | class AndTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/ConcatTest.php class ConcatTest (line 27) | class ConcatTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/DivTest.php class DivTest (line 27) | class DivTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/FloorDivTest.php class FloorDivTest (line 27) | class FloorDivTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/ModTest.php class ModTest (line 27) | class ModTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/MulTest.php class MulTest (line 27) | class MulTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/NullCoalesceTest.php class NullCoalesceTest (line 28) | class NullCoalesceTest extends NodeTestCase method provideTests (line 30) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/OrTest.php class OrTest (line 27) | class OrTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/Binary/SubTest.php class SubTest (line 27) | class SubTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 39) | public static function provideTests(): iterable FILE: tests/Node/Expression/CallTest.php class CallTest (line 32) | class CallTest extends TestCase method testGetArguments (line 34) | public function testGetArguments() method testGetArgumentsWhenPositionalArgumentsAfterNamedArguments (line 40) | public function testGetArgumentsWhenPositionalArgumentsAfterNamedArgum... method testGetArgumentsWhenArgumentIsDefinedTwice (line 50) | public function testGetArgumentsWhenArgumentIsDefinedTwice() method testGetArgumentsWithWrongNamedArgumentName (line 60) | public function testGetArgumentsWithWrongNamedArgumentName() method testGetArgumentsWithWrongNamedArgumentNames (line 70) | public function testGetArgumentsWithWrongNamedArgumentNames() method testResolveArgumentsWithMissingValueForOptionalArgument (line 80) | public function testResolveArgumentsWithMissingValueForOptionalArgument() method testResolveArgumentsOnlyNecessaryArgumentsForCustomFunction (line 94) | public function testResolveArgumentsOnlyNecessaryArgumentsForCustomFun... method testGetArgumentsForStaticMethod (line 100) | public function testGetArgumentsForStaticMethod() method testResolveArgumentsWithMissingParameterForArbitraryArguments (line 106) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method testGetArgumentsWithInvalidCallable (line 116) | public function testGetArgumentsWithInvalidCallable() method testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnFunction (line 126) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnObject (line 136) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method customStaticFunction (line 146) | public static function customStaticFunction($arg1, $arg2 = 'default', ... method customFunction (line 150) | public function customFunction($arg1, $arg2 = 'default', $arg3 = []) method customFunctionWithArbitraryArguments (line 154) | public function customFunctionWithArbitraryArguments() method getArguments (line 158) | private function getArguments($call, $args) method createFunctionExpression (line 165) | private function createFunctionExpression($name, $callable, $isVariadi... class Node_Expression_Call (line 171) | class Node_Expression_Call extends FunctionExpression class CallableTestClass (line 175) | class CallableTestClass method __invoke (line 177) | public function __invoke($required) function custom_call_test_function (line 182) | function custom_call_test_function($required) FILE: tests/Node/Expression/ConditionalTest.php class ConditionalTest (line 30) | class ConditionalTest extends NodeTestCase method testConstructor (line 32) | public function testConstructor() method provideTests (line 44) | public static function provideTests(): iterable FILE: tests/Node/Expression/ConstantTest.php class ConstantTest (line 26) | class ConstantTest extends NodeTestCase method testConstructor (line 28) | public function testConstructor() method provideTests (line 35) | public static function provideTests(): iterable FILE: tests/Node/Expression/Filter/RawTest.php class RawTest (line 27) | class RawTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 40) | public static function provideTests(): iterable FILE: tests/Node/Expression/FilterTest.php class FilterTest (line 34) | class FilterTest extends NodeTestCase method testConstructor (line 36) | public function testConstructor() method provideTests (line 48) | public static function provideTests(): iterable method testCompileWithWrongNamedArgumentName (line 139) | public function testCompileWithWrongNamedArgumentName() method testCompileWithMissingNamedArgument (line 154) | public function testCompileWithMissingNamedArgument() method createFilter (line 169) | private static function createFilter(Environment $env, $node, $name, a... method createEnvironment (line 174) | protected static function createEnvironment(): Environment method createExtension (line 190) | private static function createExtension(): AbstractExtension function twig_tests_filter_dummy (line 212) | function twig_tests_filter_dummy() function twig_tests_filter_barbar (line 216) | function twig_tests_filter_barbar($context, $string, $arg1 = null, $arg2... class ChildMagicCallStub (line 220) | class ChildMagicCallStub extends ParentMagicCallStub method identifier (line 222) | public static function identifier() class ParentMagicCallStub (line 228) | class ParentMagicCallStub method identifier (line 230) | public static function identifier() method __callStatic (line 235) | public static function __callStatic($method, $arguments) FILE: tests/Node/Expression/FilterTestExtension.php class FilterTestExtension (line 26) | class FilterTestExtension extends AbstractExtension method getFilters (line 28) | public function getFilters(): array method staticMethod (line 36) | public static function staticMethod() method objectMethod (line 40) | public function objectMethod() FILE: tests/Node/Expression/FunctionTest.php class FunctionTest (line 32) | class FunctionTest extends NodeTestCase method testConstructor (line 34) | public function testConstructor() method provideTests (line 44) | public static function provideTests(): iterable method createFunction (line 109) | private static function createFunction(Environment $env, $name, array ... method createEnvironment (line 114) | protected static function createEnvironment(): Environment function twig_tests_function_dummy (line 129) | function twig_tests_function_dummy() function twig_tests_function_barbar (line 133) | function twig_tests_function_barbar($arg1 = null, $arg2 = null, array $a... FILE: tests/Node/Expression/GetAttrTest.php class GetAttrTest (line 30) | class GetAttrTest extends NodeTestCase method testConstructor (line 32) | public function testConstructor() method provideTests (line 48) | public static function provideTests(): iterable FILE: tests/Node/Expression/NullCoalesceTest.php class NullCoalesceTest (line 31) | class NullCoalesceTest extends NodeTestCase method provideTests (line 33) | public static function provideTests(): iterable FILE: tests/Node/Expression/ParentTest.php class ParentTest (line 26) | class ParentTest extends NodeTestCase method testConstructor (line 28) | public function testConstructor() method provideTests (line 35) | public static function provideTests(): iterable FILE: tests/Node/Expression/Ternary/ConditionalTernaryTest.php class ConditionalTernaryTest (line 27) | class ConditionalTernaryTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 41) | public static function provideTests(): iterable FILE: tests/Node/Expression/TestTest.php class TestTest (line 33) | class TestTest extends NodeTestCase method testConstructor (line 35) | public function testConstructor() method provideTests (line 47) | public static function provideTests(): iterable method createTest (line 83) | private static function createTest(Environment $env, $node, $name, arr... method createEnvironment (line 88) | protected static function createEnvironment(): Environment function twig_tests_test_barbar (line 98) | function twig_tests_test_barbar($string, $arg1 = null, $arg2 = null, arr... FILE: tests/Node/Expression/Unary/NegTest.php class NegTest (line 27) | class NegTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/Expression/Unary/NotTest.php class NotTest (line 27) | class NotTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/Expression/Unary/PosTest.php class PosTest (line 27) | class PosTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/Expression/Variable/AssignContextVariableTest.php class AssignContextVariableTest (line 26) | class AssignContextVariableTest extends NodeTestCase method testConstructor (line 28) | public function testConstructor() method provideTests (line 35) | public static function provideTests(): iterable FILE: tests/Node/Expression/Variable/ContextVariableTest.php class ContextVariableTest (line 28) | class ContextVariableTest extends NodeTestCase method testConstructor (line 30) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/ForTest.php class ForTest (line 31) | class ForTest extends NodeTestCase method testConstructor (line 33) | public function testConstructor() method provideTests (line 55) | public static function provideTests(): iterable FILE: tests/Node/IfTest.php class IfTest (line 30) | class IfTest extends NodeTestCase method testConstructor (line 32) | public function testConstructor() method provideTests (line 49) | public static function provideTests(): iterable FILE: tests/Node/ImportTest.php class ImportTest (line 29) | class ImportTest extends NodeTestCase method testConstructor (line 31) | public function testConstructor() method provideTests (line 40) | public static function provideTests(): iterable FILE: tests/Node/IncludeTest.php class IncludeTest (line 29) | class IncludeTest extends NodeTestCase method testConstructor (line 31) | public function testConstructor() method provideTests (line 46) | public static function provideTests(): iterable FILE: tests/Node/MacroTest.php class MacroTest (line 34) | class MacroTest extends NodeTestCase method testConstructor (line 36) | public function testConstructor() method provideTests (line 47) | public static function provideTests(): iterable FILE: tests/Node/ModuleTest.php class ModuleTest (line 40) | class ModuleTest extends NodeTestCase method testConstructor (line 42) | public function testConstructor() method provideTests (line 59) | public static function provideTests(): iterable FILE: tests/Node/NodeTest.php class NodeTest (line 31) | class NodeTest extends TestCase method testToString (line 35) | public function testToString() method testToStringWithTwigCallables (line 48) | public function testToStringWithTwigCallables() method testToStringWithTag (line 65) | public function testToStringWithTag() method testAttributeDeprecationIgnore (line 76) | public function testAttributeDeprecationIgnore() method testAttributeDeprecationWithoutAlternative (line 87) | public function testAttributeDeprecationWithoutAlternative() method testAttributeDeprecationWithAlternative (line 99) | public function testAttributeDeprecationWithAlternative() method testNodeDeprecationIgnore (line 108) | public function testNodeDeprecationIgnore() method testNodeDeprecationWithoutAlternative (line 119) | public function testNodeDeprecationWithoutAlternative() method testNodeAttributeDeprecationWithAlternative (line 131) | public function testNodeAttributeDeprecationWithAlternative() class NodeForTest (line 141) | class NodeForTest extends Node FILE: tests/Node/PrintTest.php class PrintTest (line 30) | class PrintTest extends NodeTestCase method testConstructor (line 32) | public function testConstructor() method provideTests (line 40) | public static function provideTests(): iterable FILE: tests/Node/SandboxTest.php class SandboxTest (line 27) | class SandboxTest extends NodeTestCase method testConstructor (line 29) | public function testConstructor() method provideTests (line 37) | public static function provideTests(): iterable FILE: tests/Node/SetTest.php class SetTest (line 34) | class SetTest extends NodeTestCase method testConstructor (line 36) | public function testConstructor() method provideTests (line 47) | public static function provideTests(): iterable FILE: tests/Node/TextTest.php class TextTest (line 26) | class TextTest extends NodeTestCase method testConstructor (line 28) | public function testConstructor() method provideTests (line 35) | public static function provideTests(): iterable FILE: tests/Node/TypesTest.php class TypesTest (line 17) | class TypesTest extends NodeTestCase method getValidMapping (line 19) | private static function getValidMapping(): array method testConstructor (line 34) | public function testConstructor() method provideTests (line 42) | public static function provideTests(): iterable FILE: tests/NodeVisitor/OptimizerTest.php class OptimizerTest (line 34) | class OptimizerTest extends TestCase method testConstructor (line 36) | public function testConstructor() method testRenderBlockOptimizer (line 43) | public function testRenderBlockOptimizer() method testRenderParentBlockOptimizer (line 55) | public function testRenderParentBlockOptimizer() method testForVarOptimizer (line 67) | public function testForVarOptimizer() method checkForVarConfiguration (line 79) | public function checkForVarConfiguration(Node $node, $target) method testForLoopOptimizer (line 93) | public function testForLoopOptimizer($template, $expected) method getTestsForForLoopOptimizer (line 104) | public static function getTestsForForLoopOptimizer() method checkForLoopConfiguration (line 143) | public function checkForLoopConfiguration(Node $node, $target, $withLoop) FILE: tests/NodeVisitor/SandboxTest.php class SandboxTest (line 36) | class SandboxTest extends TestCase method testGeneratorExpression (line 38) | public function testGeneratorExpression() FILE: tests/ParserTest.php class ParserTest (line 40) | class ParserTest extends TestCase method testUnknownTag (line 42) | public function testUnknownTag() method testUnknownTagWithoutSuggestions (line 58) | public function testUnknownTagWithoutSuggestions() method testFilterBodyNodes (line 77) | public function testFilterBodyNodes($input, $expected) method getFilterBodyNodesData (line 85) | public static function getFilterBodyNodesData() method testFilterBodyNodesThrowsException (line 106) | public function testFilterBodyNodesThrowsException($input) method getFilterBodyNodesDataThrowsException (line 116) | public static function getFilterBodyNodesDataThrowsException() method testFilterBodyNodesWithBOM (line 127) | public function testFilterBodyNodesWithBOM($emptyNode) method getFilterBodyNodesWithBOMData (line 135) | public static function getFilterBodyNodesWithBOMData() method testParseIsReentrant (line 145) | public function testParseIsReentrant() method testGetVarName (line 169) | public function testGetVarName() method testImplicitMacroArgumentDefaultValues (line 189) | public function testImplicitMacroArgumentDefaultValues() method getParser (line 209) | protected function getParser() class TestTokenParser (line 221) | class TestTokenParser extends AbstractTokenParser method parse (line 223) | public function parse(Token $token): Node method getTag (line 239) | public function getTag(): string FILE: tests/Profiler/Dumper/BlackfireTest.php class BlackfireTest (line 25) | class BlackfireTest extends ProfilerTestCase method testDump (line 27) | public function testDump() FILE: tests/Profiler/Dumper/HtmlTest.php class HtmlTest (line 25) | class HtmlTest extends ProfilerTestCase method testDump (line 27) | public function testDump() FILE: tests/Profiler/Dumper/ProfilerTestCase.php class ProfilerTestCase (line 26) | abstract class ProfilerTestCase extends TestCase method getProfile (line 28) | protected function getProfile() method getIndexProfile (line 56) | private function getIndexProfile(array $subProfiles = []) method getEmbeddedBlockProfile (line 61) | private function getEmbeddedBlockProfile(array $subProfiles = []) method getEmbeddedTemplateProfile (line 66) | private function getEmbeddedTemplateProfile(array $subProfiles = []) method getIncludedTemplateProfile (line 71) | private function getIncludedTemplateProfile(array $subProfiles = []) method getMacroProfile (line 76) | private function getMacroProfile(array $subProfiles = []) method generateProfile (line 89) | private function generateProfile($name, $duration, $type, $templateNam... FILE: tests/Profiler/Dumper/TextTest.php class TextTest (line 25) | class TextTest extends ProfilerTestCase method testDump (line 27) | public function testDump() FILE: tests/Profiler/ProfileTest.php class ProfileTest (line 26) | class ProfileTest extends TestCase method testConstructor (line 28) | public function testConstructor() method testIsRoot (line 37) | public function testIsRoot() method testIsTemplate (line 46) | public function testIsTemplate() method testIsBlock (line 55) | public function testIsBlock() method testIsMacro (line 64) | public function testIsMacro() method testGetAddProfile (line 73) | public function testGetAddProfile() method testGetDuration (line 83) | public function testGetDuration() method testTimeAccessors (line 92) | public function testTimeAccessors() method testSerialize (line 101) | public function testSerialize() method testReset (line 124) | public function testReset() FILE: tests/Runtime/EscaperRuntimeTest.php class EscaperRuntimeTest (line 27) | class EscaperRuntimeTest extends TestCase method testHtmlEscapingConvertsSpecialChars (line 168) | public function testHtmlEscapingConvertsSpecialChars() method testHtmlAttributeEscapingConvertsSpecialChars (line 175) | public function testHtmlAttributeEscapingConvertsSpecialChars() method testHtmlAttributeRelaxedEscapingConvertsSpecialChars (line 182) | public function testHtmlAttributeRelaxedEscapingConvertsSpecialChars() method testJavascriptEscapingConvertsSpecialChars (line 189) | public function testJavascriptEscapingConvertsSpecialChars() method testJavascriptEscapingConvertsSpecialCharsWithInternalEncoding (line 196) | public function testJavascriptEscapingConvertsSpecialCharsWithInternal... method testJavascriptEscapingReturnsStringIfZeroLength (line 211) | public function testJavascriptEscapingReturnsStringIfZeroLength() method testJavascriptEscapingReturnsStringIfContainsOnlyDigits (line 216) | public function testJavascriptEscapingReturnsStringIfContainsOnlyDigits() method testCssEscapingConvertsSpecialChars (line 221) | public function testCssEscapingConvertsSpecialChars() method testCssEscapingReturnsStringIfZeroLength (line 228) | public function testCssEscapingReturnsStringIfZeroLength() method testCssEscapingReturnsStringIfContainsOnlyDigits (line 233) | public function testCssEscapingReturnsStringIfContainsOnlyDigits() method testUrlEscapingConvertsSpecialChars (line 238) | public function testUrlEscapingConvertsSpecialChars() method testUnicodeCodepointConversionToUtf8 (line 253) | public function testUnicodeCodepointConversionToUtf8() method codepointToUtf8 (line 271) | protected function codepointToUtf8($codepoint) method testJavascriptEscapingEscapesOwaspRecommendedRanges (line 294) | public function testJavascriptEscapingEscapesOwaspRecommendedRanges() method testHtmlAttributeEscapingEscapesOwaspRecommendedRanges (line 317) | public function testHtmlAttributeEscapingEscapesOwaspRecommendedRanges() method testHtmlAttributeRelaxedEscapingEscapesOwaspRecommendedRanges (line 340) | public function testHtmlAttributeRelaxedEscapingEscapesOwaspRecommende... method testCssEscapingEscapesOwaspRecommendedRanges (line 360) | public function testCssEscapingEscapesOwaspRecommendedRanges() method testUnknownCustomEscaper (line 379) | public function testUnknownCustomEscaper() method testCustomEscaper (line 389) | public function testCustomEscaper($expected, $string, $strategy, $char... method provideCustomEscaperCases (line 396) | public static function provideCustomEscaperCases() method testObjectEscaping (line 408) | public function testObjectEscaping(string $escapedHtml, string $escape... method provideObjectsForEscaping (line 417) | public static function provideObjectsForEscaping() function escaper (line 428) | function escaper($string, $charset) type Extension_SafeHtmlInterface (line 433) | interface Extension_SafeHtmlInterface class Extension_TestClass (line 436) | class Extension_TestClass implements Extension_SafeHtmlInterface method __toString (line 438) | public function __toString() FILE: tests/TemplateTest.php class TemplateTest (line 35) | class TemplateTest extends TestCase method testDisplayBlocksAcceptTemplateOnlyAsBlocks (line 37) | public function testDisplayBlocksAcceptTemplateOnlyAsBlocks() method testGetAttributeExceptions (line 49) | public function testGetAttributeExceptions($template, $message) method getAttributeExceptions (line 73) | public static function getAttributeExceptions() method testGetAttributeWithSandbox (line 99) | public function testGetAttributeWithSandbox($object, $item, $allowed) method getGetAttributeWithSandbox (line 125) | public static function getGetAttributeWithSandbox() method testRenderTemplateWithoutOutput (line 138) | public function testRenderTemplateWithoutOutput(string $template) method getRenderTemplateWithoutOutputData (line 144) | public static function getRenderTemplateWithoutOutputData() method testNullCoalesceWithImportedMacro (line 156) | public function testNullCoalesceWithImportedMacro(array $templates, st... method getNullCoalesceWithImportedMacroData (line 163) | public static function getNullCoalesceWithImportedMacroData(): array method testRenderBlockWithUndefinedBlock (line 190) | public function testRenderBlockWithUndefinedBlock() method testDisplayBlockWithUndefinedBlock (line 201) | public function testDisplayBlockWithUndefinedBlock() method testDisplayBlockWithUndefinedParentBlock (line 212) | public function testDisplayBlockWithUndefinedParentBlock() method testGetAttributeOnArrayWithConfusableKey (line 223) | public function testGetAttributeOnArrayWithConfusableKey() method testGetAttribute (line 258) | public function testGetAttribute($defined, $value, $object, $item, $ar... method testGetAttributeStrict (line 269) | public function testGetAttributeStrict($defined, $value, $object, $ite... method testGetAttributeDefined (line 288) | public function testGetAttributeDefined($defined, $value, $object, $it... method testGetAttributeDefinedStrict (line 299) | public function testGetAttributeDefinedStrict($defined, $value, $objec... method testGetAttributeCallExceptions (line 307) | public function testGetAttributeCallExceptions() method getGetAttributeTests (line 317) | public static function getGetAttributeTests() method testGetIsMethods (line 457) | public function testGetIsMethods() class TemplateForTest (line 470) | class TemplateForTest extends Template method __construct (line 474) | public function __construct(Environment $env, $name = 'index.twig') method getZero (line 480) | public function getZero() method getEmpty (line 485) | public function getEmpty() method getString (line 490) | public function getString() method getTrue (line 495) | public function getTrue() method getTemplateName (line 500) | public function getTemplateName(): string method getDebugInfo (line 505) | public function getDebugInfo(): array method getSourceContext (line 510) | public function getSourceContext(): Source method doGetParent (line 515) | protected function doGetParent(array $context): bool|string|Template|T... method doDisplay (line 520) | protected function doDisplay(array $context, array $blocks = []): iter... method block_name (line 524) | public function block_name($context, array $blocks = []) class TemplateArrayAccessObject (line 529) | class TemplateArrayAccessObject implements \ArrayAccess method offsetExists (line 546) | public function offsetExists($name): bool method offsetGet (line 551) | #[\ReturnTypeWillChange] method offsetSet (line 557) | public function offsetSet($name, $value): void method offsetUnset (line 561) | public function offsetUnset($name): void class TemplateMagicPropertyObject (line 566) | class TemplateMagicPropertyObject method __isset (line 584) | public function __isset($name): bool method __get (line 589) | public function __get($name) class TemplateMagicPropertyObjectWithException (line 595) | class TemplateMagicPropertyObjectWithException method __isset (line 597) | public function __isset($key): bool class TemplatePropertyObject (line 603) | class TemplatePropertyObject class TemplatePropertyObjectAndIterator (line 616) | class TemplatePropertyObjectAndIterator extends TemplatePropertyObject i... method getIterator (line 618) | public function getIterator(): \Traversable class TemplatePropertyObjectAndArrayAccess (line 624) | class TemplatePropertyObjectAndArrayAccess extends TemplatePropertyObjec... method offsetExists (line 636) | public function offsetExists($offset): bool method offsetGet (line 641) | #[\ReturnTypeWillChange] method offsetSet (line 647) | public function offsetSet($offset, $value): void method offsetUnset (line 651) | public function offsetUnset($offset): void class TemplatePropertyObjectDefinedWithUndefinedValue (line 656) | class TemplatePropertyObjectDefinedWithUndefinedValue method __construct (line 660) | public function __construct() class TemplateMethodObject (line 666) | class TemplateMethodObject method getDefined (line 668) | public function getDefined() method get1 (line 673) | public function get1() method get09 (line 678) | public function get09() method getZero (line 683) | public function getZero() method getNull (line 688) | public function getNull() method isBar (line 692) | public function isBar() method hasFoo (line 697) | public function hasFoo() method hasBaz (line 702) | public function hasBaz() method isBaz (line 707) | public function isBaz() method getBaz (line 712) | public function getBaz() method baz (line 717) | public function baz() method hasBaf (line 722) | public function hasBaf() method isBaf (line 727) | public function isBaf() method getProtected (line 732) | protected function getProtected() method getStatic (line 737) | public static function getStatic() class TemplateGetIsMethods (line 743) | class TemplateGetIsMethods method get (line 745) | public function get() method is (line 749) | public function is() class TemplateMethodAndPropObject (line 754) | class TemplateMethodAndPropObject method getA (line 758) | public function getA() method getB (line 765) | public function getB() method getC (line 772) | private function getC() class TemplateArrayAccess (line 778) | class TemplateArrayAccess implements \ArrayAccess method offsetExists (line 785) | public function offsetExists($offset): bool method offsetGet (line 790) | #[\ReturnTypeWillChange] method offsetSet (line 796) | public function offsetSet($offset, $value): void method offsetUnset (line 801) | public function offsetUnset($offset): void class TemplateMagicMethodObject (line 807) | class TemplateMagicMethodObject method __call (line 809) | public function __call($method, $arguments) class TemplateMagicMethodExceptionObject (line 815) | class TemplateMagicMethodExceptionObject method __call (line 817) | public function __call($method, $arguments) FILE: tests/TemplateWrapperTest.php class TemplateWrapperTest (line 27) | class TemplateWrapperTest extends TestCase method testHasGetBlocks (line 29) | public function testHasGetBlocks() method testRenderBlock (line 55) | public function testRenderBlock() method testDisplayBlock (line 66) | public function testDisplayBlock() FILE: tests/TokenParser/GuardTokenParserTest.php class GuardTokenParserTest (line 21) | class GuardTokenParserTest extends TestCase method testUndefinedHandlers (line 23) | public function testUndefinedHandlers() FILE: tests/TokenParser/TypesTokenParserTest.php class TypesTokenParserTest (line 20) | class TypesTokenParserTest extends TestCase method testMappingParsing (line 23) | public function testMappingParsing(string $template, array $expected):... method getMappingTests (line 34) | public static function getMappingTests(): array FILE: tests/TokenStreamTest.php class TokenStreamTest (line 29) | class TokenStreamTest extends TestCase method setUp (line 33) | protected function setUp(): void method testNext (line 47) | public function testNext() method testEndOfTemplateNext (line 59) | public function testEndOfTemplateNext() method testEndOfTemplateLook (line 73) | public function testEndOfTemplateLook() FILE: tests/Util/CallableArgumentsExtractorTest.php class CallableArgumentsExtractorTest (line 35) | class CallableArgumentsExtractorTest extends TestCase method testGetArguments (line 39) | public function testGetArguments() method testGetArgumentsWhenPositionalArgumentsAfterNamedArguments (line 44) | public function testGetArgumentsWhenPositionalArgumentsAfterNamedArgum... method testGetArgumentsWhenArgumentIsDefinedTwice (line 52) | public function testGetArgumentsWhenArgumentIsDefinedTwice() method testGetArgumentsWithWrongNamedArgumentName (line 60) | public function testGetArgumentsWithWrongNamedArgumentName() method testGetArgumentsWithWrongNamedArgumentNames (line 68) | public function testGetArgumentsWithWrongNamedArgumentNames() method testResolveArgumentsWithMissingValueForOptionalArgument (line 76) | public function testResolveArgumentsWithMissingValueForOptionalArgument() method testResolveArgumentsOnlyNecessaryArgumentsForCustomFunction (line 88) | public function testResolveArgumentsOnlyNecessaryArgumentsForCustomFun... method testGetArgumentsForStaticMethod (line 93) | public function testGetArgumentsForStaticMethod() method testGetArgumentsConversion (line 101) | public function testGetArgumentsConversion($arg1, $arg2) method getGetArgumentsConversionData (line 109) | public static function getGetArgumentsConversionData() method testGetArgumentsConversionForVariadics (line 124) | public function testGetArgumentsConversionForVariadics() method testGetArgumentsError (line 138) | public function testGetArgumentsError() method testResolveArgumentsWithMissingParameterForArbitraryArguments (line 146) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method testGetArgumentsWithInvalidCallable (line 154) | public function testGetArgumentsWithInvalidCallable() method testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnFunction (line 161) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method testResolveArgumentsWithMissingParameterForArbitraryArgumentsOnObject (line 169) | public function testResolveArgumentsWithMissingParameterForArbitraryAr... method customStaticFunction (line 177) | public static function customStaticFunction($arg1, $arg2 = 'default', ... method customFunction (line 181) | public function customFunction($arg1, $arg2 = 'default', $arg3 = []) method customFunctionSnakeCamel (line 185) | public function customFunctionSnakeCamel($someName, $some_city) method customFunctionWithArbitraryArguments (line 189) | public function customFunctionWithArbitraryArguments() method getArguments (line 193) | private function getArguments(string $name, $callable, array $args, bo... class ExpressionCall (line 211) | class ExpressionCall extends FunctionExpression class CallableTestClass (line 215) | class CallableTestClass method __invoke (line 217) | public function __invoke($required) function custom_call_test_function (line 222) | function custom_call_test_function($required) FILE: tests/Util/DeprecationCollectorTest.php class DeprecationCollectorTest (line 30) | class DeprecationCollectorTest extends TestCase method testCollect (line 35) | public function testCollect() method deprec (line 46) | public function deprec() class Iterator (line 51) | class Iterator implements \IteratorAggregate method getIterator (line 53) | public function getIterator(): \Traversable