class IncludeLibraryContent extends AbstractExtension

Twig extension to provide Library's content using inc_content

Properties

private IncludeLibraryService $includeLibraryService Stores IncludeLibrary Service

Methods

__construct(IncludeLibraryService $includeLibraryService)

No description

getFunctions()

No description

string
Content($name, $type, $version = 'latest')

Returns the content of the requested library

Details

at line 30
__construct(IncludeLibraryService $includeLibraryService)

Parameters

IncludeLibraryService $includeLibraryService

at line 35
getFunctions()

at line 53
string Content($name, $type, $version = 'latest')

Returns the content of the requested library

Parameters

$name
$type
$version

Return Value

string

Exceptions

Error