| 1 |
<?php |
| 2 |
|
| 3 |
namespace Yoast\WP\SEO\Introductions\Domain; |
| 4 |
|
| 5 |
/** |
| 6 |
* Represents an introduction. |
| 7 |
*/ |
| 8 |
interface Introduction_Interface { |
| 9 |
|
| 10 |
/** |
| 11 |
* Returns the ID. |
| 12 |
* |
| 13 |
* @return string |
| 14 |
*/ |
| 15 |
public function get_id(); |
| 16 |
|
| 17 |
/** |
| 18 |
* Returns the requested pagination priority. Lower means earlier. |
| 19 |
* |
| 20 |
* @return int |
| 21 |
*/ |
| 22 |
public function get_priority(); |
| 23 |
|
| 24 |
/** |
| 25 |
* Returns whether this introduction should show. |
| 26 |
* |
| 27 |
* @return bool |
| 28 |
*/ |
| 29 |
public function should_show(); |
| 30 |
} |
| 31 |
|