for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kartenmacherei\RestFramework\Request\Body;
use Kartenmacherei\RestFramework\EnsureException;
use Kartenmacherei\RestFramework\JsonObject;
class PdfBody extends Body
{
/**
* @var string
*/
private $content = '';
* @param string $content
public function __construct($content)
$this->content = $content;
}
* @return bool
public function isJson(): bool
return false;
* @return string
public function getContent(): string
return $this->content;