mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-29 00:25:37 +03:00
Make all models final (#513)
This commit is contained in:
parent
da5ccde2a7
commit
e32031f671
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class Attachment implements ApiResponse
|
final class Attachment implements ApiResponse
|
||||||
{
|
{
|
||||||
private $data;
|
private $data;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Event;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class Event
|
final class Event
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string status
|
* @var string status
|
||||||
|
@ -16,7 +16,7 @@ use Mailgun\Model\ApiResponse;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class EventResponse implements ApiResponse, PagingProvider
|
final class EventResponse implements ApiResponse, PagingProvider
|
||||||
{
|
{
|
||||||
use PaginationResponse;
|
use PaginationResponse;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class SendResponse implements ApiResponse
|
final class SendResponse implements ApiResponse
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class ShowResponse implements ApiResponse
|
final class ShowResponse implements ApiResponse
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Only available with message/rfc2822.
|
* Only available with message/rfc2822.
|
||||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Stats;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class TotalResponseItem
|
final class TotalResponseItem
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var \DateTime
|
* @var \DateTime
|
||||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Bounce;
|
|||||||
/**
|
/**
|
||||||
* @author Sean Johnson <sean@mailgun.com>
|
* @author Sean Johnson <sean@mailgun.com>
|
||||||
*/
|
*/
|
||||||
class Bounce
|
final class Bounce
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Complaint;
|
|||||||
/**
|
/**
|
||||||
* @author Sean Johnson <sean@mailgun.com>
|
* @author Sean Johnson <sean@mailgun.com>
|
||||||
*/
|
*/
|
||||||
class Complaint
|
final class Complaint
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -12,7 +12,7 @@ namespace Mailgun\Model\Suppression\Unsubscribe;
|
|||||||
/**
|
/**
|
||||||
* @author Sean Johnson <sean@mailgun.com>
|
* @author Sean Johnson <sean@mailgun.com>
|
||||||
*/
|
*/
|
||||||
class Unsubscribe
|
final class Unsubscribe
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
namespace Mailgun\Model\Tag;
|
namespace Mailgun\Model\Tag;
|
||||||
|
|
||||||
class Tag
|
final class Tag
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class CreateResponse extends BaseResponse
|
final class CreateResponse extends BaseResponse
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,6 @@ namespace Mailgun\Model\Webhook;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class DeleteResponse extends BaseResponse
|
final class DeleteResponse extends BaseResponse
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ use Mailgun\Model\ApiResponse;
|
|||||||
/**
|
/**
|
||||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||||
*/
|
*/
|
||||||
class IndexResponse implements ApiResponse
|
final class IndexResponse implements ApiResponse
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
|
Loading…
Reference in New Issue
Block a user