for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Kerox\Messenger\Response;
class ProfileResponse extends AbstractResponse
{
private const RESULT = 'result';
/**
* @var null|string
*/
protected $result;
* @param array $response
protected function parseResponse(array $response): void
$this->result = $response[self::RESULT] ?? null;
}
* @return null|string
public function getResult(): ?string
return $this->result;