| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
* This file is part of the WindPress package. |
| 5 |
* |
| 6 |
* (c) Joshua Gugun Siagian <suabahasa@gmail.com> |
| 7 |
* |
| 8 |
* For the full copyright and license information, please view the LICENSE |
| 9 |
* file that was distributed with this source code. |
| 10 |
*/ |
| 11 |
declare (strict_types=1); |
| 12 |
namespace WindPress\WindPress\Integration; |
| 13 |
|
| 14 |
interface IntegrationInterface |
| 15 |
{ |
| 16 |
/** |
| 17 |
* Get the Integration name (slug). |
| 18 |
*/ |
| 19 |
public function get_name(): string; |
| 20 |
/** |
| 21 |
* Check if the Integration is enabled. |
| 22 |
*/ |
| 23 |
public function is_enabled(): bool; |
| 24 |
} |
| 25 |
|