protected function compileSets($value) { return preg_replace('/\\@set\\(\'(.*?)\'\\,\\s*(.*)\\)/', '<?php $$1 = $2; ?>', $value); }