]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entry.php
store domainName in database
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entry.php
index 9aebc55bff454b79f15a3eb5c37b031e8385428a..7d2d2027f1bbf43478db1887339a2ed8a38cef56 100644 (file)
@@ -266,6 +266,7 @@ class Entry
     {
         $this->content = $content;
         $this->readingTime = Tools::getReadingTime($content);
+        $this->domainName = parse_url($this->url, PHP_URL_HOST);
 
         return $this;
     }