- <?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;
- }
- }
|