public function HamlPhpFilter::run in Sassy 7
* Run the filter *
Parameters
string text to filter: * @return string filtered text
Overrides HamlBaseFilter::run
File
- phamlp/
haml/ filters/ HamlPhpFilter.php, line 24
Class
- HamlPhpFilter
- PHP Filter for {@link http://haml-lang.com/ Haml} class. The text will be parsed with the PHP interpreter. @package PHamlP @subpackage Haml.filters
Code
public function run($text) {
return "<?php\n{$text}?>\n";
}