Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5/** @license For full copyright and license information, please see the LICENSE.md file. */
6
7namespace App\Core\Layout;
8
9defined('AMMONLY_APP') || exit('Direct script access is forbidden.');
10
11/**
12 * Interface for Theme UI Components and Layout Blocks.
13 *
14 * Any block class assigned to a layout position must implement this interface.
15 *
16 * @package App\Core\Layout
17 */
18interface BlockInterface
19{
20    /**
21     * Renders the block content and returns generated HTML.
22     *
23     * @param array<string, mixed> $options Optional block configuration options.
24     * @return string Rendered block HTML string.
25     */
26    public function render(array $options = []): string;
27}