- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
-
- trait SluggableTrait
- {
-
-
- protected $slug;
-
- public function getSlug(): ?string
- {
- return $this->slug;
- }
-
- public function setSlug(string $slug): self
- {
- $this->slug = $slug;
-
- return $this;
- }
- }
|