2017 © Pedro Peláez
 

library twig-adapter

image

theopera/twig-adapter

  • Wednesday, December 28, 2016
  • by marchoh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

The Opera Twig Adapter

Build Status, (*1)

This adapter allows you to easily use the Twig template engine for rendering your views., (*2)

Installation

Run composer require theopera/twig-adapter to get a copy of the adapter. To make the adapter active, add the following code, to the MyContext class., (*3)

```php public function getTemplateEngine() : RenderInterface { if($this->render === null){ $this->render = new TwigAdapter($this); }, (*4)

return $this->render;

} ````, (*5)

This will override the default PhpEngine template engine. Be sure to check your import statements., (*6)

The Versions

28/12 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marc Heuker of Hoek

28/12 2016

v1.2

1.2.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marc Heuker of Hoek

23/09 2016

v1.1

1.1.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marc Heuker of Hoek

12/09 2016

v1.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

by Marc Heuker of Hoek