2016-01-31 12:00:29 +01:00
|
|
|
<?php namespace Todaymade\Daux\Format\Base;
|
|
|
|
|
|
|
|
use Todaymade\Daux\Tree\ComputedRaw;
|
|
|
|
|
|
|
|
abstract class ComputedRawPage implements Page
|
|
|
|
{
|
|
|
|
protected $raw;
|
|
|
|
|
|
|
|
public function __construct(ComputedRaw $content)
|
|
|
|
{
|
|
|
|
$this->raw = $content;
|
|
|
|
}
|
|
|
|
|
2017-03-01 10:54:38 +01:00
|
|
|
public function getFilename()
|
|
|
|
{
|
|
|
|
return $this->raw->getUri();
|
|
|
|
}
|
|
|
|
|
2016-01-31 12:00:29 +01:00
|
|
|
public function getContent()
|
|
|
|
{
|
|
|
|
return $this->raw->getContent();
|
|
|
|
}
|
2016-03-13 21:51:15 +01:00
|
|
|
|
|
|
|
public function getPureContent()
|
|
|
|
{
|
|
|
|
return $this->raw->getContent();
|
|
|
|
}
|
2016-01-31 12:00:29 +01:00
|
|
|
}
|