daux.io/libs/Tree/ContentAbstract.php

24 lines
405 B
PHP
Raw Permalink Normal View History

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