Merged in feature/MAW-855-import-code-into-aws (pull request #2)

code import from pantheon

* code import from pantheon
This commit is contained in:
Tony Volpe
2023-12-04 23:08:14 +00:00
parent 8c9b1312bc
commit 8f4b5efda6
4766 changed files with 185592 additions and 239967 deletions

View File

@@ -0,0 +1,27 @@
<?php
namespace Yoast\WP\SEO\Promotions\Application;
/**
* Interface for the promotion manager.
*
* @makePublic
*/
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;
}