Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • Template
  • TemplateContext
  • TemplateEvent
  • TemplatingEngine
  • TwigEnvironment
  • TwigTemplate
  • TwigTemplatingProvider
  • Overview
  • Namespace
  • Class

Class TwigEnvironment

Autarky extension of the Twig_Environment class in order to add event dispatching capabilities.

Twig_Environment
Extended by Autarky\TwigTemplating\TwigEnvironment implements Autarky\Events\EventDispatcherAwareInterface uses Autarky\Events\EventDispatcherAwareTrait
Namespace: Autarky\TwigTemplating
Located at TwigEnvironment.php
Methods summary
public
# __construct( Twig_LoaderInterface $loader = null, $options = array() )
public
# loadTemplate( $path, $index = null )
Methods inherited from Autarky\Events\EventDispatcherAwareInterface
setEventDispatcher()
Methods used from Autarky\Events\EventDispatcherAwareTrait
setEventDispatcher()
Properties used from Autarky\Events\EventDispatcherAwareTrait
$eventDispatcher
Autarky Framework API documentation generated by ApiGen