| 1 | <?php |
||
| 7 | trait SeoTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | * |
||
| 12 | * @ORM\Column(name="url", type="string", length=255) |
||
| 13 | */ |
||
| 14 | protected $url; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | * |
||
| 19 | * @ORM\Column(name="seo_description", type="text", nullable=true) |
||
| 20 | */ |
||
| 21 | protected $seoDescription; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | * |
||
| 26 | * @ORM\Column(name="custom_meta_tags", type="text", nullable=true) |
||
| 27 | */ |
||
| 28 | protected $customMetaTags; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getUrl() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param string $url |
||
| 40 | * |
||
| 41 | * @return $this |
||
| 42 | */ |
||
| 43 | 1 | public function setUrl($url) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public function getSeoDescription() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param string $description |
||
| 60 | * |
||
| 61 | * @return $this |
||
| 62 | */ |
||
| 63 | public function setSeoDescription($description) |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @return string |
||
| 72 | */ |
||
| 73 | public function getCustomMetaTags() |
||
| 77 | |||
| 78 | /** |
||
| 79 | * @param string $customMetaTags |
||
| 80 | * |
||
| 81 | * @return $this |
||
| 82 | */ |
||
| 83 | public function setCustomMetaTags($customMetaTags) |
||
| 89 | } |
||
| 90 |