src/Leevel/View/Compiler.php
protected function getNodeAttribute(array $theme): array
    {
        foreach ($theme['children'] as $child) {
            if (isset($child['is_attribute']) && true === $child['is_attribute']) {
                return $child['attribute_list'];
            }
        }

        return [];
    }
protected function getNodeAttribute(array $theme): array
    {
        foreach ($theme['children'] as $child) {
            if (isset($child['is_attribute']) && true === $child['is_attribute']) {
                return $child['attribute_list'];
            }
        }

        return [];
    }
取得节点的属性列表.

@param array $theme

@return array