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()
|
|
|
|
{
|
|
|
|
throw new \RuntimeException("No Parent Exception");
|
|
|
|
}
|
|
|
|
}
|