2016-04-14 12:02:31 +02:00
|
|
|
<?php namespace Todaymade\Daux\Format\HTML\ContentTypes\Markdown\TOC;
|
2016-04-12 08:38:52 +02:00
|
|
|
|
|
|
|
class RootEntry extends Entry
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$this->content = null;
|
|
|
|
$this->level = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return Entry
|
|
|
|
*/
|
|
|
|
public function getParent()
|
|
|
|
{
|
2016-07-27 21:32:51 +02:00
|
|
|
throw new \RuntimeException('No Parent Exception');
|
2016-04-12 08:38:52 +02:00
|
|
|
}
|
|
|
|
}
|