for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kurenai;
/**
* Class Document
*
* @package \Kurenai
*/
class Document
{
* Raw document content.
* @var string
protected $raw;
* Document metadata.
* @var mixed
protected $metadata;
* Document content.
protected $content;
* Document constructor.
* @param string $raw
* @param mixed $metdata
* @param string $content
public function __construct($raw, $metdata, $content)
$this->raw = $raw;
$this->metadata = $metdata;
$this->content = $content;
}
* Get the raw document.
* @return string
public function getRaw()
return $this->raw;
* Get the document metadata.
* @return mixed
public function getMetadata()
return $this->metadata;
* Get the document content.
public function getContent()
return $this->content;