Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace App\Core\Layout;
6
7/**
8 * Interface for Theme UI Components and Layout Blocks.
9 *
10 * Any block class assigned to a layout position must implement this interface.
11 *
12 * @package App\Core\Layout
13 */
14interface BlockInterface
15{
16    /**
17     * Renders the block content and returns generated HTML.
18     *
19     * @param array<string, mixed> $options Optional block configuration options.
20     * @return string Rendered block HTML string.
21     */
22    public function render(array $options = []): string;
23}