*/
private $publishedAt;
+ /**
+ * @var array
+ *
+ * @ORM\Column(name="published_by", type="json_array", nullable=true)
+ *
+ * @Groups({"entries_for_user", "export_all"})
+ */
+ private $publishedBy;
+
/**
* @ORM\OneToMany(targetEntity="Wallabag\AnnotationBundle\Entity\Annotation", mappedBy="entry", cascade={"persist", "remove"})
* @ORM\JoinTable
*/
private $previewPicture;
- /**
- * @var bool
- *
- * @ORM\Column(name="is_public", type="boolean", nullable=true, options={"default" = false})
- *
- * @Groups({"export_all"})
- */
- private $isPublic;
-
/**
* @var string
*
$this->domainName = $domainName;
}
- /**
- * @return bool
- */
- public function isPublic()
- {
- return $this->isPublic;
- }
-
- /**
- * @param bool $isPublic
- */
- public function setIsPublic($isPublic)
- {
- $this->isPublic = $isPublic;
- }
-
/**
* @return ArrayCollection<Tag>
*/
return $this;
}
+
+ /**
+ * @return string
+ */
+ public function getPublishedBy()
+ {
+ return $this->publishedBy;
+ }
+
+ /**
+ * @param string $publishedBy
+ *
+ * @return Entry
+ */
+ public function setPublishedBy($publishedBy)
+ {
+ $this->publishedBy = $publishedBy;
+
+ return $this;
+ }
}