class IncludeLibraryCode extends AbstractExtension

Twig extension to provide Library's data using inc_lib

Properties

private IncludeLibraryService $includeLibraryService Stores IncludeLibrary Service

Methods

__construct(IncludeLibraryService $includeLibraryService)

No description

getFunctions()

No description

string
Code(Environment $environment, $name, $type, $version = 'latest', $params = null)

Returns the xhtml code to be included

Details

at line 31
__construct(IncludeLibraryService $includeLibraryService)

Parameters

IncludeLibraryService $includeLibraryService

at line 36
getFunctions()

at line 55
string Code(Environment $environment, $name, $type, $version = 'latest', $params = null)

Returns the xhtml code to be included

Parameters

Environment $environment
$name
$type
$version
$params

Return Value

string

Exceptions

Error