Sha256: af8de54d039a4aa3a8df1d0cb3a971587d6123abf9eca77251849395f1893a42
Contents?: true
Size: 564 Bytes
Versions: 10
Compression:
Stored size: 564 Bytes
Contents
<?php namespace MtHaml\Filter; use MtHaml\NodeVisitor\RendererAbstract as Renderer; use MtHaml\Node\Filter; class Plain extends AbstractFilter { public function isOptimizable(Renderer $renderer, Filter $node, $options) { return true; } public function optimize(Renderer $renderer, Filter $filter, $options) { $this->renderFilter($renderer, $filter); } public function filter($content, array $context, $options) { throw new \RuntimeException('Filter is optimizable and does not run in runtime'); } }
Version data entries
10 entries across 10 versions & 1 rubygems