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

        $theme['content'] = $this->withPhpTag('while('.$attr['condition'].'):').
            $this->getNodeBody($theme).
            $this->withPhpTag('endwhile;');
    }
public function whileNodeCompiler(array &$theme): void
    {
        $this->checkNode($theme);
        $attr = $this->getNodeAttribute($theme);

        $theme['content'] = $this->withPhpTag('while('.$attr['condition'].'):').
            $this->getNodeBody($theme).
            $this->withPhpTag('endwhile;');
    }
while.

@param array $theme