| 1 |
<?php |
| 2 |
|
| 3 |
namespace Give\Framework\FormDesigns\Contracts; |
| 4 |
|
| 5 |
/** |
| 6 |
* The structure of a GiveWP FormDesign |
| 7 |
* |
| 8 |
* @since 3.0.0 |
| 9 |
*/ |
| 10 |
interface FormDesignInterface |
| 11 |
{ |
| 12 |
/** |
| 13 |
* Return a unique identifier for the design |
| 14 |
* |
| 15 |
* @since 3.0.0 |
| 16 |
*/ |
| 17 |
public static function id(): string; |
| 18 |
|
| 19 |
/** |
| 20 |
* Returns a human-readable name for the design |
| 21 |
* |
| 22 |
* @since 3.0.0 |
| 23 |
*/ |
| 24 |
public static function name(): string; |
| 25 |
} |
| 26 |
|