ob-ivan/sd-twig

There is no license information available for the latest version (v1.3.1) of this package.

Installs: 923

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ob-ivan/sd-twig

v1.3.1 2018-02-20 10:28 UTC

This package is auto-updated.

Last update: 2025-09-29 02:14:03 UTC


README

twig:
    loader:
        class: App\Twig\MyLoader
        path: templates
        rootDir: ''                     # relative to root dir provided by container
        extra:
            - '.twig'
        paths:
            __main__: ''
            templates: twig/templates
    cache:
        class: App\Twig\MyCache
        path: var/cache/twig            # relative to root dir provided by container
    extensions:
        - Twig_Extensions_Extension_Text
        - App\Twig\MyExtension          # dependencies will be injected
    extension_factories:
        - App\Twig\MyExtensionFactory
        - SD\Twig\Extension\ProfilerExtensionFactory