Skip to content

Commit

Permalink
Add getEndpoint and setEndpoint methods to the MailgunTransport class
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiStarovoitov committed Jul 28, 2019
1 parent 45ce5ff commit de9cd54
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/Illuminate/Mail/Transport/MailgunTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,25 @@ public function setDomain($domain)
{
return $this->domain = $domain;
}

/**
* Get the API end-point being used by the transport.
*
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}

/**
* Set the API end-point being used by the transport.
*
* @param string $endpoint
* @return string
*/
public function setEndpoint($endpoint)
{
return $this->endpoint = $endpoint;
}
}

0 comments on commit de9cd54

Please sign in to comment.