create-prisma-php-app 1.26.521 → 1.26.522
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
namespace Lib\PHPX;
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Interface IPHPX
|
|
7
|
+
*
|
|
8
|
+
* The interface for the PHPX component classes.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
interface IPHPX {
|
|
12
|
+
/**
|
|
13
|
+
* Constructor to initialize the component with the given properties.
|
|
14
|
+
*
|
|
15
|
+
* @param array<string, mixed> $props Optional properties to customize the component.
|
|
16
|
+
*/
|
|
17
|
+
public function __construct(array $props = []);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers or initializes any necessary components or settings. (Placeholder method).
|
|
21
|
+
*/
|
|
22
|
+
public static function init(): void;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Renders the component with the given properties and children.
|
|
26
|
+
*
|
|
27
|
+
* @return string The rendered HTML content.
|
|
28
|
+
*/
|
|
29
|
+
public function render(): string;
|
|
30
|
+
}
|