- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
- trait SeoTrait
- {
-
-
- protected $metaTitle;
-
-
-
-
- protected $metaDescription;
-
-
-
-
- protected $oldUrls;
-
-
- public function getMetaTitle(): ?string
- {
- return $this->metaTitle;
- }
-
- public function setMetaTitle(?string $metaTitle): self
- {
- $this->metaTitle = $metaTitle;
-
- return $this;
- }
-
- public function getMetaDescription(): ?string
- {
- return $this->metaDescription;
- }
-
- public function setMetaDescription(?string $metaDescription): self
- {
- $this->metaDescription = $metaDescription;
-
- return $this;
- }
-
- public function setOldUrls($oldUrls): self
- {
- $this->oldUrls = $oldUrls;
-
- return $this;
- }
-
- public function getOldUrls(): ?array
- {
- return $this->oldUrls;
- }
- }
|