2016-07-29 22:38:03 +02:00
|
|
|
<?php namespace Todaymade\Daux\Tree;
|
|
|
|
|
|
|
|
abstract class ContentAbstract extends Entry
|
|
|
|
{
|
|
|
|
/** @var string */
|
|
|
|
protected $content;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
2019-11-28 23:32:33 +01:00
|
|
|
public function getContent(): string
|
2016-07-29 22:38:03 +02:00
|
|
|
{
|
|
|
|
return $this->content;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param string $content
|
|
|
|
*/
|
2019-11-28 23:32:33 +01:00
|
|
|
public function setContent(string $content): void
|
2016-07-29 22:38:03 +02:00
|
|
|
{
|
|
|
|
$this->content = $content;
|
|
|
|
}
|
|
|
|
}
|