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