Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Automattic\Jetpack_Boost\Contracts; |
| 4 | |
| 5 | /** |
| 6 | * Every plugin feature that's large enough |
| 7 | * to need setup also needs a slug |
| 8 | */ |
| 9 | interface Feature extends Has_Setup, Has_Slug { |
| 10 | /** |
| 11 | * Whether the feature is available for use. |
| 12 | * Use this to check for feature flags, etc. |
| 13 | * |
| 14 | * @return bool |
| 15 | */ |
| 16 | public static function is_available(); |
| 17 | } |