daux.io/libs/Format/Base/RawPage.php

29 lines
566 B
PHP
Raw Permalink Normal View History

<?php namespace Todaymade\Daux\Format\Base;
use Todaymade\Daux\Exception;
abstract class RawPage implements Page
{
protected $file;
public function __construct($filename)
{
$this->file = $filename;
}
public function getFile()
{
return $this->file;
}
public function getPureContent()
{
2016-07-27 21:32:51 +02:00
throw new Exception('you should not use this method to show a raw content');
}
public function getContent()
{
2016-07-27 21:32:51 +02:00
throw new Exception('you should not use this method to show a raw content');
}
}