mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 06:16:03 +03:00
Show that the constructor is deprecated (#347)
This commit is contained in:
parent
d504472206
commit
91f96bad3e
@ -67,8 +67,10 @@ class Mailgun
|
||||
* @param string $apiEndpoint
|
||||
* @param Hydrator|null $hydrator
|
||||
* @param RequestBuilder|null $requestBuilder
|
||||
*
|
||||
* @internal Use Mailgun::configure or Mailgun::create instead.
|
||||
*/
|
||||
public function __construct(
|
||||
public /* private */ function __construct(
|
||||
$apiKey = null, /* Deprecated, will be removed in 3.0 */
|
||||
HttpClient $httpClient = null,
|
||||
$apiEndpoint = 'api.mailgun.net', /* Deprecated, will be removed in 3.0 */
|
||||
|
Loading…
Reference in New Issue
Block a user