| 1 |
<?php |
| 2 |
|
| 3 |
namespace Sendy\WooCommerce\Repositories; |
| 4 |
|
| 5 |
use Sendy\Api\Connection; |
| 6 |
use Sendy\WooCommerce\ApiClientFactory; |
| 7 |
|
| 8 |
abstract class Repository |
| 9 |
{ |
| 10 |
protected Connection $connection; |
| 11 |
|
| 12 |
public function __construct() |
| 13 |
{ |
| 14 |
$this->connection = ApiClientFactory::buildConnectionUsingTokens(); |
| 15 |
} |
| 16 |
} |
| 17 |
|