Skip to content

Commit

Permalink
Merge pull request #29312 from SerhiiStarovoitov/5.8
Browse files Browse the repository at this point in the history
[5.8] Add getEndpoint and setEndpoint methods to the MailgunTransport class
  • Loading branch information
taylorotwell authored Jul 29, 2019
2 parents 75a1f4e + 5068062 commit 0c3d547
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 endpoint being used by the transport.
*
* @return string
*/
public function getEndpoint()
{
return $this->endpoint;
}

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

0 comments on commit 0c3d547

Please sign in to comment.