for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AcquiaCloudApi\Response;
class OperationResponse extends GenericResponse
{
/**
* @var string $message
*/
public $message;
* @var object|null $links
public $links;
* @param object $operation
public function __construct($operation)
$this->message = $operation->message;
if (isset($operation->_links)) {
$this->links = $operation->_links;
}
* @return string
public function getNotificationUuid()
$notification = parse_url($this->getLink('notification'), PHP_URL_PATH);
$segments = explode('/', rtrim($notification));
return end($segments);