for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kalanis\RemoteRequest\Protocols\Restful;
use kalanis\RemoteRequest\Protocols;
/**
* Class Answer
* @package kalanis\RemoteRequest\Protocols\Restful
* Process server's answer - REST API
*/
class Answer extends Protocols\Http\Answer
{
* @param bool $asArray
* @return mixed
public function getDecodedContent(bool $asArray = false)
return json_decode(trim($this->getContent()), $asArray);
}