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 | * A class that has a setup step that's supposed to be executed only once. |
| 7 | */ |
| 8 | interface Has_Setup { |
| 9 | |
| 10 | /** |
| 11 | * This class has a setup method that should be |
| 12 | * run only once per the request lifecycle. |
| 13 | * |
| 14 | * This is a good place to attach hooks |
| 15 | * or perform other tasks that need |
| 16 | * to be performed once. |
| 17 | */ |
| 18 | public function setup(); |
| 19 | } |