initial
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Automattic\Jetpack_Boost\Contracts;
|
||||
|
||||
/**
|
||||
* Every plugin feature that's large enough
|
||||
* to need setup also needs a slug
|
||||
*/
|
||||
interface Feature extends Has_Setup, Has_Slug {
|
||||
/**
|
||||
* Whether the feature is available for use.
|
||||
* Use this to check for feature flags, etc.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function is_available();
|
||||
}
|
||||
Reference in New Issue
Block a user