src/wordlift/dataset/class-sync-post-hooks.php 1 location
|
@@ 29-38 (lines=10) @@
|
| 26 |
|
* @param Sync_Service $sync_service |
| 27 |
|
* @param Sync_Object_Adapter_Factory $sync_object_factory |
| 28 |
|
*/ |
| 29 |
|
function __construct( $sync_service, $sync_object_factory ) { |
| 30 |
|
parent::__construct(); |
| 31 |
|
|
| 32 |
|
$this->log = \Wordlift_Log_Service::get_logger( get_class() ); |
| 33 |
|
|
| 34 |
|
$this->sync_service = $sync_service; |
| 35 |
|
$this->sync_object_factory = $sync_object_factory; |
| 36 |
|
|
| 37 |
|
$this->register_hooks(); |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
private function register_hooks() { |
| 41 |
|
/** |
src/wordlift/dataset/class-sync-user-hooks.php 1 location
|
@@ 23-32 (lines=10) @@
|
| 20 |
|
* |
| 21 |
|
* @param Sync_Service $sync_service |
| 22 |
|
*/ |
| 23 |
|
function __construct( Sync_Service $sync_service ) { |
| 24 |
|
parent::__construct(); |
| 25 |
|
|
| 26 |
|
$this->log = \Wordlift_Log_Service::get_logger( get_class() ); |
| 27 |
|
|
| 28 |
|
$this->sync_service = $sync_service; |
| 29 |
|
|
| 30 |
|
$this->register_hooks(); |
| 31 |
|
|
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
private function register_hooks() { |
| 35 |
|
/** |