for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the Madapaja.TwigModule package.
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Madapaja\TwigModule;
use Ray\Di\Di\Named;
use Ray\Di\ProviderInterface;
use Twig_Environment;
class TwigEnvironmentProvider implements ProviderInterface
{
private $twig;
* @Named("original")
public function __construct(Twig_Environment $twig)
$this->twig = $twig;
}
* @return Twig_Environment
public function get()
return $this->twig;