24 regels
405 B
PHP
24 regels
405 B
PHP
<?php namespace Todaymade\Daux\Tree;
|
|
|
|
abstract class ContentAbstract extends Entry
|
|
{
|
|
/** @var string */
|
|
protected $content;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContent(): string
|
|
{
|
|
return $this->content;
|
|
}
|
|
|
|
/**
|
|
* @param string $content
|
|
*/
|
|
public function setContent(string $content): void
|
|
{
|
|
$this->content = $content;
|
|
}
|
|
}
|