Documentation

EntryFilesTwigExtension extends AbstractExtension
in package

FinalYes

Table of Contents

Properties

$container  : mixed

Methods

__construct()  : mixed
entryExists()  : bool
getFilters()  : array<string|int, TwigFilter>
Returns a list of filters to add to the existing list.
getFunctions()  : array<string|int, TwigFunction>
Returns a list of functions to add to the existing list.
getNodeVisitors()  : array<string|int, NodeVisitorInterface>
Returns the node visitor instances to add to the existing list.
getOperators()  : array<string|int, array<string|int, mixed>>
Returns a list of operators to add to the existing list.
getTests()  : array<string|int, TwigTest>
Returns a list of tests to add to the existing list.
getTokenParsers()  : array<string|int, TokenParserInterface>
Returns the token parser instances to add to the existing list.
getWebpackCssFiles()  : array<string|int, mixed>
getWebpackJsFiles()  : array<string|int, mixed>
renderWebpackLinkTags()  : string
renderWebpackScriptTags()  : string
getEntrypointLookup()  : EntrypointLookupInterface
getTagRenderer()  : TagRenderer

Properties

Methods

entryExists()

public entryExists(string $entryName[, string $entrypointName = '_default' ]) : bool
Parameters
$entryName : string
$entrypointName : string = '_default'
Return values
bool

getOperators()

Returns a list of operators to add to the existing list.

public getOperators() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

First array of unary operators, second array of binary operators

getWebpackCssFiles()

public getWebpackCssFiles(string $entryName[, string $entrypointName = '_default' ]) : array<string|int, mixed>
Parameters
$entryName : string
$entrypointName : string = '_default'
Return values
array<string|int, mixed>

getWebpackJsFiles()

public getWebpackJsFiles(string $entryName[, string $entrypointName = '_default' ]) : array<string|int, mixed>
Parameters
$entryName : string
$entrypointName : string = '_default'
Return values
array<string|int, mixed>

renderWebpackLinkTags()

public renderWebpackLinkTags(string $entryName[, string $packageName = null ][, string $entrypointName = '_default' ][, array<string|int, mixed> $attributes = [] ]) : string
Parameters
$entryName : string
$packageName : string = null
$entrypointName : string = '_default'
$attributes : array<string|int, mixed> = []
Return values
string

renderWebpackScriptTags()

public renderWebpackScriptTags(string $entryName[, string $packageName = null ][, string $entrypointName = '_default' ][, array<string|int, mixed> $attributes = [] ]) : string
Parameters
$entryName : string
$packageName : string = null
$entrypointName : string = '_default'
$attributes : array<string|int, mixed> = []
Return values
string

        
On this page

Search results