2013-08-08 21:39:44 +04:00
|
|
|
<?PHP
|
|
|
|
|
2014-05-13 17:25:26 +04:00
|
|
|
namespace Mailgun\Tests\Mock;
|
2013-08-08 21:39:44 +04:00
|
|
|
|
2014-05-13 17:25:26 +04:00
|
|
|
use Mailgun\Mailgun as Base;
|
|
|
|
use Mailgun\Tests\Mock\Connection\TestBroker;
|
2013-08-08 21:39:44 +04:00
|
|
|
|
2014-05-13 17:25:26 +04:00
|
|
|
class Mailgun extends Base
|
2013-08-08 21:39:44 +04:00
|
|
|
{
|
2014-05-14 17:06:05 +04:00
|
|
|
protected $debug;
|
|
|
|
protected $restClient;
|
|
|
|
|
|
|
|
public function __construct($apiKey = null, $apiEndpoint = "api.mailgun.net", $apiVersion = "v2")
|
|
|
|
{
|
|
|
|
$this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion);
|
|
|
|
}
|
|
|
|
}
|