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