PHP Class Mailgun\Resource\Api\Stats\TotalResponse

Author: Tobias Nyholm ([email protected])
Inheritance: implements Mailgun\Resource\ApiResponse
Afficher le fichier Open project: mailgun/mailgun-php

Méthodes publiques

Méthode Description
create ( array $data ) : self
getEnd ( ) : DateTime
getResolution ( ) : string
getStart ( ) : DateTime
getStats ( ) : TotalResponseItem[]

Private Methods

Méthode Description
__construct ( DateTime $start, DateTime $end, string $resolution, array $stats )

Method Details

create() public static méthode

public static create ( array $data ) : self
$data array
Résultat self

getEnd() public méthode

public getEnd ( ) : DateTime
Résultat DateTime

getResolution() public méthode

public getResolution ( ) : string
Résultat string

getStart() public méthode

public getStart ( ) : DateTime
Résultat DateTime

getStats() public méthode

public getStats ( ) : TotalResponseItem[]
Résultat TotalResponseItem[]