for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kartenmacherei\RestFramework\Response\Content;
class PdfContent implements Content
{
/**
* @var string
*/
private $value;
* @param string $value
public function __construct(string $value)
$this->value = $value;
}
* @return string
public function asString(): string
return $this->value;
* @return ContentType
public function getContentType(): ContentType
return new PdfContentType();