aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-11 20:17:42 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-11 20:17:42 +0200
commit9c08a891f9bb90bc3f23a575a734283c1ee00ba1 (patch)
treef5e90765bdd2b923cbd008722e12be25028bdf6d /src/Wallabag/CoreBundle/Entity
parent49e564ec159371d9fa751ba75f9f1c555d108179 (diff)
parentf1e29e69cb0ba5a0f05190c62e7a4afd43d03436 (diff)
downloadwallabag-9c08a891f9bb90bc3f23a575a734283c1ee00ba1.tar.gz
wallabag-9c08a891f9bb90bc3f23a575a734283c1ee00ba1.tar.zst
wallabag-9c08a891f9bb90bc3f23a575a734283c1ee00ba1.zip
Merge pull request #1397 from wallabag/v2-graby
Integrate graby
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index f88d189d..e684c9b1 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -109,6 +109,13 @@ class Entry
109 private $domainName; 109 private $domainName;
110 110
111 /** 111 /**
112 * @var string
113 *
114 * @ORM\Column(name="preview_picture", type="text", nullable=true)
115 */
116 private $previewPicture;
117
118 /**
112 * @var bool 119 * @var bool
113 * 120 *
114 * @ORM\Column(name="is_public", type="boolean", nullable=true, options={"default" = false}) 121 * @ORM\Column(name="is_public", type="boolean", nullable=true, options={"default" = false})
@@ -419,4 +426,28 @@ class Entry
419 { 426 {
420 $this->tags->removeElement($tag); 427 $this->tags->removeElement($tag);
421 } 428 }
429
430 /**
431 * Set previewPicture.
432 *
433 * @param string $previewPicture
434 *
435 * @return Entry
436 */
437 public function setPreviewPicture($previewPicture)
438 {
439 $this->previewPicture = $previewPicture;
440
441 return $this;
442 }
443
444 /**
445 * Get previewPicture.
446 *
447 * @return string
448 */
449 public function getPreviewPicture()
450 {
451 return $this->previewPicture;
452 }
422} 453}