17 lines
354 B
PHP
17 lines
354 B
PHP
<?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();
|
|
}
|