19 lignes
338 B
PHP
19 lignes
338 B
PHP
|
<?php namespace Todaymade\Daux\ContentTypes\Markdown\TOC;
|
||
|
|
||
|
class RootEntry extends Entry
|
||
|
{
|
||
|
public function __construct()
|
||
|
{
|
||
|
$this->content = null;
|
||
|
$this->level = 0;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return Entry
|
||
|
*/
|
||
|
public function getParent()
|
||
|
{
|
||
|
throw new \RuntimeException("No Parent Exception");
|
||
|
}
|
||
|
}
|