Initial commit

This commit is contained in:
Chris Smith
2025-02-19 14:51:16 +01:00
commit d82a6cad96
198 changed files with 13819 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace common\components;
use Postmark\PostmarkClient;
use yii\base\Component;
class PostmarkComponent extends Component
{
/** @var PostmarkClient */
public PostmarkClient $client;
public mixed $serverToken;
public function init()
{
parent::init();
$this->client = new PostmarkClient($this->serverToken);
}
}