| 1 |
<?php |
| 2 |
declare( strict_types=1 ); |
| 3 |
|
| 4 |
namespace Automattic\WooCommerce\Internal; |
| 5 |
|
| 6 |
/** |
| 7 |
* Interface RegisterHooksInterface |
| 8 |
* |
| 9 |
* The following must be added at the end of the 'init_hooks' method in the 'WooCommerce' class |
| 10 |
* for each class implementing this interface: |
| 11 |
* $container->get( <full class name>::class )->register(); |
| 12 |
* |
| 13 |
* @since 8.5.0 |
| 14 |
*/ |
| 15 |
interface RegisterHooksInterface { |
| 16 |
|
| 17 |
/** |
| 18 |
* Register this class instance to the appropriate hooks. |
| 19 |
* |
| 20 |
* @return void |
| 21 |
*/ |
| 22 |
public function register(); |
| 23 |
} |
| 24 |
|