src/Leevel/View/Compiler.php
public function elseifNodeCompiler(array &$theme): void
    {
        $this->checkNode($theme);
        $attr = $this->getNodeAttribute($theme);

        $attr['condition'] = $this->parseContentIf($attr['condition']);
        $theme['content'] = $this->withPhpTag('elseif ('.$attr['condition'].'):');
    }
public function elseifNodeCompiler(array &$theme): void
    {
        $this->checkNode($theme);
        $attr = $this->getNodeAttribute($theme);

        $attr['condition'] = $this->parseContentIf($attr['condition']);
        $theme['content'] = $this->withPhpTag('elseif ('.$attr['condition'].'):');
    }
elseif.

@param array $theme