Merged in feature/from-pantheon (pull request #16)

code from pantheon

* code from pantheon
This commit is contained in:
Tony Volpe
2024-01-10 17:03:02 +00:00
parent 054b4fffc9
commit 4eb982d7a8
16492 changed files with 3475854 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace Yoast\WP\SEO\Promotions\Application;
/**
* Interface for the promotion manager.
*/
interface Promotion_Manager_Interface {
/**
* Whether the promotion is effective.
*
* @param string $promotion_name The name of the promotion.
*
* @return bool Whether the promotion is effective.
*/
public function is( string $promotion_name ) : bool;
/**
* Get the list of promotions.
*
* @return array The list of promotions.
*/
public function get_promotions_list() : array;
}