|
123456789101112131415161718192021222324252627282930313233 |
- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
-
- abstract class Page extends AbstractDocumentEntity
- {
-
-
- protected $content;
-
- public function __toString()
- {
- return $this->getTitle() ;
- }
-
- public function getContent(): ?string
- {
- return $this->content;
- }
-
- public function setContent(?string $content): self
- {
- $this->content = $content;
-
- return $this;
- }
- }
|