diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-08-20 21:51:02 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-08-20 21:51:02 +0200 |
commit | 109d67dbb16478f927c3d6a46ab61ea9994aafae (patch) | |
tree | 0786b588729e3fd474a08b68ce288078e4354cfa /src/Wallabag/CoreBundle/Entity | |
parent | 4fcb7eaf139a4d2cbd0f54574e6c51a0fe852ef1 (diff) | |
parent | 6682139ec50e29308953a50dcbd088e6d8a07e81 (diff) | |
download | wallabag-109d67dbb16478f927c3d6a46ab61ea9994aafae.tar.gz wallabag-109d67dbb16478f927c3d6a46ab61ea9994aafae.tar.zst wallabag-109d67dbb16478f927c3d6a46ab61ea9994aafae.zip |
Merge pull request #1386 from wallabag/v2-refactor
WIP – Fixing things around :dash:
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 7d2d2027..f88d189d 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -7,7 +7,7 @@ use Doctrine\ORM\Mapping as ORM; | |||
7 | use Symfony\Component\Validator\Constraints as Assert; | 7 | use Symfony\Component\Validator\Constraints as Assert; |
8 | use Hateoas\Configuration\Annotation as Hateoas; | 8 | use Hateoas\Configuration\Annotation as Hateoas; |
9 | use JMS\Serializer\Annotation\XmlRoot; | 9 | use JMS\Serializer\Annotation\XmlRoot; |
10 | use Wallabag\CoreBundle\Helper\Tools; | 10 | use Wallabag\CoreBundle\Tools\Utils; |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * Entry. | 13 | * Entry. |
@@ -265,7 +265,7 @@ class Entry | |||
265 | public function setContent($content) | 265 | public function setContent($content) |
266 | { | 266 | { |
267 | $this->content = $content; | 267 | $this->content = $content; |
268 | $this->readingTime = Tools::getReadingTime($content); | 268 | $this->readingTime = Utils::getReadingTime($content); |
269 | $this->domainName = parse_url($this->url, PHP_URL_HOST); | 269 | $this->domainName = parse_url($this->url, PHP_URL_HOST); |
270 | 270 | ||
271 | return $this; | 271 | return $this; |