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 TwigTemplate

Extension of the Twig_Template class to enable event dispatching as well as working with template context objects.

Twig_Template
Extended by Autarky\TwigTemplating\TwigTemplate implements Autarky\Events\EventDispatcherAwareInterface uses Autarky\Events\EventDispatcherAwareTrait
Abstract
Namespace: Autarky\TwigTemplating
Located at TwigTemplate.php
Methods summary
public
# setTemplate( Autarky\TwigTemplating\Template $template )

Set the Autarky Template instance.

Set the Autarky Template instance.

Parameters

$template
public
# display( array $context, array $blocks = array() )
Methods inherited from Autarky\Events\EventDispatcherAwareInterface
setEventDispatcher()
Methods used from Autarky\Events\EventDispatcherAwareTrait
setEventDispatcher()
Properties summary
protected Autarky\TwigTemplating\Template $template
#
Properties used from Autarky\Events\EventDispatcherAwareTrait
$eventDispatcher
Autarky Framework API documentation generated by ApiGen