src/Leevel/View/Compiler.php
public function ifCodeCompiler(array &$theme): void
    {
        $theme['content'] = $this->parseContentIf($theme['content'], '');
        $theme['content'] = $this->encodeContent(
            $this->withPhpTag($theme['content'].':')
        );
    }
public function ifCodeCompiler(array &$theme): void
    {
        $theme['content'] = $this->parseContentIf($theme['content'], '');
        $theme['content'] = $this->encodeContent(
            $this->withPhpTag($theme['content'].':')
        );
    }
if.

@param array $theme