Sha256: 21e619b6f929400421762e0fea19da8c4bb4bcaf844c2b281d42ce4db4baf450
Contents?: true
Size: 499 Bytes
Versions: 10
Compression:
Stored size: 499 Bytes
Contents
<?php namespace MtHaml\Target; use MtHaml\NodeVisitor\PhpRenderer; use MtHaml\Environment; class Php extends TargetAbstract { public function __construct(array $options = array()) { parent::__construct($options + array( 'midblock_regex' => '~else\b|else\s*if\b|catch\b~A', )); } public function getDefaultRendererFactory() { return function (Environment $env, array $options) { return new PhpRenderer($env); }; } }
Version data entries
10 entries across 10 versions & 1 rubygems