for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AcquiaCloudApi\Endpoints;
use AcquiaCloudApi\Response\NotificationResponse;
use AcquiaCloudApi\Response\NotificationsResponse;
/**
* Class Notifications
*
* @package AcquiaCloudApi\CloudApi
*/
class Notifications extends CloudApiBase
{
* Returns details about a notification.
public function get(string $notificationUuid): NotificationResponse
return new NotificationResponse(
$this->client->request(
'get',
"/notifications/$notificationUuid"
)
);
}
* Returns a list of notifications.
* @return NotificationsResponse<NotificationResponse>
public function getAll(string $applicationUuid): NotificationsResponse
return new NotificationsResponse(
"/applications/$applicationUuid/notifications"