src/Services/MailjetService.php
public function getSingleContact($id)
    {
        $response = $this->client->get(Resources::$Contact, ['id' => $id]);
        if (!$response->success()) {
            $this->throwError("MailjetService:getSingleContact() failed", $response);
        }
        return $response;
    }
public function getSingleContact($id)
    {
        $response = $this->client->get(Resources::$Contact, ['id' => $id]);
        if (!$response->success()) {
            $this->throwError("MailjetService:getSingleContact() failed", $response);
        }
        return $response;
    }
public function getSingleContact ( $ id ) { $ response = $ this -> client -> get ( Resources :: $ Contact , [ 'id' => $ id ] ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "MailjetService:getSingleContact() failed" , $ response ) ; } return $ response ; }
Get single contact informations.
@param  int $id ID of the contact
@return array
Get single contact informations .