for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Acquia\LiftClient\Entity;
class GoalAddResponse extends Entity
{
/**
* @param array $array
*/
public function __construct(array $array = [])
parent::__construct($array);
}
* Gets the 'status' parameter.
*
* @return string The status of the addition
public function getStatus()
return $this->getEntityValue('status', '');
* @return Error[]|null The errors, if there were any
public function getErrors()
$ret = [];
$errors = $this->getEntityValue('errors', []);
if (empty($errors)) {
return null;
foreach ($errors as $error) {
$ret[] = new Error($error);
return $ret;