diff --git a/Compilers/Concerns/CompilesConditionals.php b/Compilers/Concerns/CompilesConditionals.php index b26494e82..a2b8b3cc8 100644 --- a/Compilers/Concerns/CompilesConditionals.php +++ b/Compilers/Concerns/CompilesConditionals.php @@ -406,4 +406,15 @@ protected function compileEndPushIf() { return 'stopPush(); endif; ?>'; } + + /** + * Compile a readonly block into valid PHP. + * + * @param string $condition + * @return string + */ + protected function compileHidden($condition) + { + return ""; + } }