Sha256: 94ebc86bbbc1cafbcf5644219945094f1fc155ea5d4cdc15feda9bc499a6e6b7
Contents?: true
Size: 504 Bytes
Versions: 10
Compression:
Stored size: 504 Bytes
Contents
<?php namespace MtHaml\Target; use MtHaml\NodeVisitor\TwigRenderer; use MtHaml\Environment; class Twig extends TargetAbstract { public function __construct(array $options = array()) { parent::__construct($options + array( 'midblock_regex' => '/(?:-\s*)?(?:else\b|elseif\b)/A', )); } public function getDefaultRendererFactory() { return function (Environment $env, array $options) { return new TwigRenderer($env); }; } }
Version data entries
10 entries across 10 versions & 1 rubygems