ABTest.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor\WPDesk\ABTesting; |
| 4 | |
| 5 | /** |
| 6 | * Test should know what variant should be used and that is all. |
| 7 | * |
| 8 | * @package WPDesk\ABTesting |
| 9 | */ |
| 10 | interface ABTest |
| 11 | { |
| 12 | /** |
| 13 | * Return info about what variant of AB test should be used. |
| 14 | * |
| 15 | * @return ABVariant |
| 16 | */ |
| 17 | public function get_variant(); |
| 18 | } |
| 19 |