aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-12 21:16:00 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-12 21:16:00 +0200
commitc2257428b2188fc709c76ec8f531287888de9741 (patch)
tree92c6dbc5f3027f0f8be9f21433bf678a4c6c2954 /src/Wallabag/CoreBundle/Entity/Entry.php
parentd990dc6f0535cad745929ca90d1e4bb00ba47584 (diff)
downloadwallabag-c2257428b2188fc709c76ec8f531287888de9741.tar.gz
wallabag-c2257428b2188fc709c76ec8f531287888de9741.tar.zst
wallabag-c2257428b2188fc709c76ec8f531287888de9741.zip
store domainName in database
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 9aebc55b..7d2d2027 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -266,6 +266,7 @@ class Entry
266 { 266 {
267 $this->content = $content; 267 $this->content = $content;
268 $this->readingTime = Tools::getReadingTime($content); 268 $this->readingTime = Tools::getReadingTime($content);
269 $this->domainName = parse_url($this->url, PHP_URL_HOST);
269 270
270 return $this; 271 return $this;
271 } 272 }